mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 18:28:12 +00:00
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:
parent
f50c7d3f2a
commit
d81f230680
@ -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{}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user