From d81f2306806e35507d9de27bcf7d24e39bfc0d91 Mon Sep 17 00:00:00 2001 From: Jyrki Vesterinen Date: Thu, 28 Dec 2017 12:02:29 +0200 Subject: [PATCH] Clear unit death animation after killing the unit This is another and much better way to fix the unit halo remaining. --- data/lua/wml/kill.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/lua/wml/kill.lua b/data/lua/wml/kill.lua index 29693dddccb..0e38383c86e 100644 --- a/data/lua/wml/kill.lua +++ b/data/lua/wml/kill.lua @@ -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{}