summaryrefslogtreecommitdiffstats
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-10-02 16:36:56 +0200
committereray orçunus <erayorcunus@gmail.com>2020-10-02 20:18:34 +0200
commit3bd333022778cee8dd95b58b02a7263870546c1b (patch)
treec75422bd786b704644e9944cca012397cee0d897 /src/core/Game.cpp
parentMerge branch 'master' of github.com:erorcun/re3 (diff)
downloadre3-3bd333022778cee8dd95b58b02a7263870546c1b.tar
re3-3bd333022778cee8dd95b58b02a7263870546c1b.tar.gz
re3-3bd333022778cee8dd95b58b02a7263870546c1b.tar.bz2
re3-3bd333022778cee8dd95b58b02a7263870546c1b.tar.lz
re3-3bd333022778cee8dd95b58b02a7263870546c1b.tar.xz
re3-3bd333022778cee8dd95b58b02a7263870546c1b.tar.zst
re3-3bd333022778cee8dd95b58b02a7263870546c1b.zip
Diffstat (limited to '')
-rw-r--r--src/core/Game.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index bb9df1a2..93f0d1b0 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -295,10 +295,15 @@ bool CGame::InitialiseOnceAfterRW(void)
CWorld::Players[0].SetPlayerSkin(CMenuManager::m_PrefsSkinFile);
#ifdef CUSTOM_FRONTEND_OPTIONS
+ // Apparently this func. can be run multiple times at the start.
if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) {
+ // needs stored language and TheText to be loaded, and last TheText reload is at the start of here
CustomFrontendOptionsPopulate();
}
#endif
+#ifdef LOAD_INI_SETTINGS
+ LoadINISettings(); // needs frontend options to be loaded
+#endif
return true;
}