[heal_unit]: clear the animation after playing it (#3526)
Fixes another case of unit halo remaining after death.
(cherry-picked from commit 3541629197
)
This commit is contained in:
parent
ee3e842cbc
commit
98bec00fac
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ function wesnoth.wml_actions.heal_unit(cfg)
|
|||
animator:add(healers[1], 'healing', 'hit', {value = heal_amount})
|
||||
end
|
||||
animator:run()
|
||||
animator:clear()
|
||||
end
|
||||
|
||||
u.hitpoints = new_hitpoints
|
||||
|
|
Loading…
Add table
Reference in a new issue