mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 08:35:39 +00:00

The problem was that the kill animation retained a reference to the unit. Triggering a Lua garbage collection (which destroys the animation object) fixes it, although it's definitely not a pretty fix. Closes pull request #2313.