Clear unit death animation after killing the unit

This is another and much better way to fix the unit halo remaining.
This commit is contained in:
Jyrki Vesterinen 2017-12-28 12:02:29 +02:00
parent f50c7d3f2a
commit d81f230680

View file

@ -69,6 +69,7 @@ function wesnoth.wml_actions.kill(cfg)
anim:add(secondary_unit, "victory", "kill", {primary = secondary, secondary = primary})
end
anim:run()
anim:clear()
end
-- wesnoth.wml_actions.redraw{}