Fix #14951: Init and save/load TimerGameEconomy::days_since_last_month (#14962)

This commit is contained in:
Jonathan G Rennison
2025-12-24 13:00:09 +00:00
committed by GitHub
parent 2515fc802d
commit 9ac7623608
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -100,6 +100,7 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date, bool reset_settin
_pause_mode = {};
_game_speed = 100;
TimerGameTick::counter = 0;
TimerGameEconomy::days_since_last_month = 0;
_cur_tileloop_tile = TileIndex{1};
_thd.redsq = INVALID_TILE;
if (reset_settings) MakeNewgameSettingsLive();