Skip to content

Commit

Permalink
Fix #1688
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed May 12, 2017
1 parent 640e28f commit 41d0a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/lua/wml-flow.lua
Expand Up @@ -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
Expand Down Expand Up @@ -261,4 +261,4 @@ function wml_actions.switch(cfg)
if action ~= "none" then break end
end
end
end
end

0 comments on commit 41d0a6b

Please sign in to comment.