summaryrefslogtreecommitdiff
path: root/src/core/Game.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-10-02 17:36:56 +0300
committereray orçunus <erayorcunus@gmail.com>2020-10-02 21:18:34 +0300
commit3bd333022778cee8dd95b58b02a7263870546c1b (patch)
treec75422bd786b704644e9944cca012397cee0d897 /src/core/Game.cpp
parentee3f5744f52d7776cc9ce22db1788aa94e011203 (diff)
Load and write our settings in re3.ini & fixes
Diffstat (limited to 'src/core/Game.cpp')
-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;
}