Skip to content

Commit

Permalink
Fix cleanup of [foreach] scope
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 14, 2016
1 parent 3f58231 commit c1b6060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/lua/wml-tags.lua
Expand Up @@ -455,8 +455,8 @@ function wml_actions.foreach(cfg)
::exit::

-- house cleaning
utils.end_var_scope(item_name)
utils.end_var_scope(i)
utils.end_var_scope(item_name, this_item)
utils.end_var_scope(i_name, i)

--[[
This forces the readonly key to be taken literally.
Expand Down

0 comments on commit c1b6060

Please sign in to comment.