Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

Knowledge (magic) is not saved in campaigns #142

Closed KroArtem closed 7 years ago

KroArtem commented 7 years ago

At least knowledge (magic) is not saved when you save and load the game (campaign mode).

Andrettin commented 7 years ago

Was that for a persistent hero or a high level unit? Could you post the saved game in question?

KroArtem commented 7 years ago

It was Sigibert, attaching savegame but Sigibert doesn't have any knowledge points (due to this bug). He's situated on the bottom of the map where orange units are located. game2.sav.txt

Andrettin commented 7 years ago

Thank you! I've fixed it :) https://github.com/Andrettin/Wyrmgus/commit/f3097a381ff98fc2b35615a6bbf9094f22eba39d