Use [do] subtags with [repeat]
This commit is contained in:
parent
d895b18659
commit
bda61536b0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue