Auto-translated
The issue with the Guildhall rebuilding has been accurately reproduced:
1. SOD 3.2 + Fresh Mod 4.2, the "Gameplay changes" and "Guildhall Rebuilding" flags are enabled; the rest is irrelevant.
2. Start any map template, for example, JC, and choose any castle, for example, a Tower.
3. Build a Guildhall 1, and pass the turn.
4. Save the game.
5. Rebuild the Guildhall 1; no matter how many times you rebuild it, everything will be fine – the "summon ship" option will never appear.
However, if you now load the saved game and rebuild the Guildhall 1, the "summon ship" option will appear, possibly not on the first try, but on the second.
At the same time, if you continue building the Guildhall, everything will be fine – forbidden spells will not appear, but they will appear when rebuilding.
What needs to be done to prevent the restriction on spells from being lost when rebuilding the Guildhall after loading a save?