mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-16 21:55:34 +00:00
ff754b8bb1
The ModifiersManagers needs to reset caches and recompute modifiers when changing ownership. However, the code only did this for global modifiers for the new player entity, not the old player entity. This meant we would not reset all modifiers, and could OOS (#7996) or lead to incorrect values. Fixes #7996 Reported by: Itms