Scheduled dispatch: Fixup start dates when changing game date
This commit is contained in:
@@ -1159,6 +1159,7 @@ void SetStartingYear(Year year)
|
||||
Date new_date = ConvertYMDToDate(_settings_game.game_creation.starting_year, 0, 1);
|
||||
/* If you open a savegame as scenario there may already be link graphs.*/
|
||||
LinkGraphSchedule::instance.ShiftDates(new_date - _date);
|
||||
ShiftOrderDates(new_date - _date);
|
||||
SetDate(new_date, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user