diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-26 04:09:45 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-26 04:09:45 +0300 |
commit | 6cb8c11285d742e5ac262e15361fa25cf4567b27 (patch) | |
tree | 4f1d9b83d92292855f6016174053864bbb1d4519 /src/core | |
parent | 3092b9a46e5d23c8eccef8fc5a96aab943952e5e (diff) |
Fix premature CTimer calls
Diffstat (limited to 'src/core')
-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 3057ceac..ec4e33ef 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -3528,9 +3528,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; |