From 6e609961e22cf1aeaf8e0cc9873af5b240de7552 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 24 May 2021 22:27:49 +0300 Subject: [PATCH] Fix #14734: Use scenario ticks instead of resetting to zero --- src/openrct2/GameState.cpp | 1 + src/openrct2/localisation/Localisation.Date.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/GameState.cpp b/src/openrct2/GameState.cpp index 71ae79b7a6..077eeeb8fa 100644 --- a/src/openrct2/GameState.cpp +++ b/src/openrct2/GameState.cpp @@ -56,6 +56,7 @@ void GameState::InitAll(int32_t mapSize) { gInMapInitCode = true; + gCurrentTicks = 0; map_init(mapSize); _park->Initialise(); finance_init(); diff --git a/src/openrct2/localisation/Localisation.Date.cpp b/src/openrct2/localisation/Localisation.Date.cpp index 7d7dd6f7ec..ce4330600b 100644 --- a/src/openrct2/localisation/Localisation.Date.cpp +++ b/src/openrct2/localisation/Localisation.Date.cpp @@ -61,7 +61,6 @@ void date_reset() { gDateMonthsElapsed = 0; gDateMonthTicks = 0; - gCurrentTicks = 0; gCurrentRealTimeTicks = 0; }