Project

General

Profile

Actions

Bug #463

closed

Badly set invalid resource extras on FoW maps on savegame load

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
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

Also available in: Atom PDF