diff --git a/data/lua/wml/animate_unit.lua b/data/lua/wml/animate_unit.lua index a72c8e5326d1..1637fd965794 100644 --- a/data/lua/wml/animate_unit.lua +++ b/data/lua/wml/animate_unit.lua @@ -102,7 +102,7 @@ local function add_animation(anim, cfg) }) end - for c in helper.child_range("animate") do + for c in helper.child_range(cfg, "animate") do add_animation(anim, c) end end