mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 16:02:56 +00:00
Fix #1688
This commit is contained in:
parent
640e28f731
commit
41d0a6b3d8
@ -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…
x
Reference in New Issue
Block a user