[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:
newfrenchy83 2018-09-07 18:35:39 +02:00 committed by Jyrki Vesterinen
parent ee3e842cbc
commit 98bec00fac

View file

@ -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