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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue