mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 20:19:49 +00:00

Regression from commit d40a9e930b9fdf1095edf45f25885773654d0a4c. In that commit I removed a redraw after the death animation of a killed unit has been played, but just to be safe, I then added a redraw after the unit has been erased from the map. Turns out it's not a good idea because [modify_unit] operates by killing and recreating the unit. This commit simply removes the redraw after erasing. Hopefully we aren't relying on [kill] triggering a redraw somewhere. [ci skip]