1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix for serialization bug

This commit is contained in:
nordsoft 2023-05-07 04:02:52 +04:00
parent 7c029bccba
commit 059ccdc9bc

View File

@ -89,6 +89,10 @@ public:
h & spells;
h & events;
h & bonusingBuildings;
for(auto * bonusingBuilding : bonusingBuildings)
bonusingBuilding->town = this;
h & town;
h & townAndVis;
BONUS_TREE_DESERIALIZATION_FIX