diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-26 04:12:04 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-26 04:12:04 +0300 |
commit | 225530ef04c46fc2071225713576f15bc16dd874 (patch) | |
tree | 4934eb58c2ebb1841948c999643731fed0e9be38 | |
parent | c869602b6d4e0acc09f63e3085d10671b0546930 (diff) |
Fix premature CTimer calls
-rw-r--r-- | src/core/Frontend.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 190cdf32..7491b7e2 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -2902,9 +2902,15 @@ CMenuManager::InitialiseChangedLanguageSettings() { if (m_bFrontEnd_ReloadObrTxtGxt) { m_bFrontEnd_ReloadObrTxtGxt = false; +#ifdef FIX_BUGS + if (gGameState > GS_INIT_ONCE) +#endif CTimer::Stop(); TheText.Unload(); TheText.Load(); +#ifdef FIX_BUGS + if (gGameState > GS_INIT_ONCE) +#endif CTimer::Update(); CGame::frenchGame = false; CGame::germanGame = false; |