Project

General

Profile

Bug #2480 ยป 0001-sg_save_player_cities-Do-not-refresh-cities.patch

Sweet Tea Dorminy, 11/14/2026 07:47 PM

View differences:

server/savegame/savegame3.c
city_list_iterate(plr->cities, pcity) {
int routes;
/* Check the sanity of the city. */
city_refresh(pcity);
/* Check the sanity of the city. Do not city_refresh() it first:
* saving must not change the game state. */
sanity_check_city(pcity);
if (pcity->worklist.length > wlist_max_length) {
    (1-1/1)