mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 09:32:01 +00:00

The code keeps record of the previous hp to prevent unit:transform form changing it. But it reads it before the object was added which prevented the object from increasing the units hp.