Skip to content

Commit

Permalink
Use [do] subtags with [repeat]
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Sep 20, 2015
1 parent d895b18 commit bda6153
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion data/lua/wml-tags.lua
Expand Up @@ -350,7 +350,9 @@ end
wml_actions["repeat"] = function(cfg)
local times = cfg.times or 1
for i = 1, times do
handle_event_commands(cfg)
for do_child in helper.child_range( cfg, "do" ) do
handle_event_commands(do_child, "loop")
end
end
end

Expand Down

0 comments on commit bda6153

Please sign in to comment.