Fix #1688
This commit is contained in:
parent
640e28f731
commit
41d0a6b3d8
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ wesnoth.wml_actions["for"] = function(cfg)
|
|||
return wesnoth.get_variable(i_var) > sentinel
|
||||
else
|
||||
sentinel = sentinel + 1
|
||||
return wesnoth.get_variable(i_var) > sentinel
|
||||
return wesnoth.get_variable(i_var) < sentinel
|
||||
end
|
||||
end
|
||||
while loop_condition() do
|
||||
|
@ -261,4 +261,4 @@ function wml_actions.switch(cfg)
|
|||
if action ~= "none" then break end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue