Fix [for]step= not being honoured
This commit is contained in:
parent
d5e7be9cef
commit
c0384520ad
1 changed files with 1 additions and 1 deletions
|
@ -377,7 +377,7 @@ wesnoth.wml_actions["for"] = function(cfg)
|
|||
goto exit
|
||||
end
|
||||
end
|
||||
wesnoth.set_variable(i_var, wesnoth.get_variable(i_var) + 1)
|
||||
wesnoth.set_variable(i_var, wesnoth.get_variable(i_var) + step)
|
||||
end
|
||||
::exit::
|
||||
utils.end_var_scope(i_var, save_i)
|
||||
|
|
Loading…
Add table
Reference in a new issue