Actions
Bug #463
closedBadly set invalid resource extras on FoW maps on savegame load
Start date:
04/17/2024
Due date:
% Done:
0%
Estimated time:
Description
Savegame has resources stored to extras vector even when they are invalid on current terrain. Loading should set them as the resource of the terrain, and remove them from the extras vector. At runtime extras vector is supposed to have active extras, while the resource of the terrain keeps information about the resource to restore in case terrain gets converted to suitable one.
This works corretly for the main map, but player tiles loading leaves invalid resources to the extras vector, and does not set them as resource of the terrain.
Files
Actions