This commit is contained in:
Celtic Minstrel 2017-05-12 17:21:38 -04:00 committed by GitHub
parent 640e28f731
commit 41d0a6b3d8

View file

@ -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