mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 01:26:50 -04:00
Fix options not loading on web/macOS/mobile clients
Oversight from f75050b0c7c743ed60403a8fafbef323df31977a
This commit is contained in:
parent
202947e4a7
commit
cf4104bd96
@ -57,10 +57,11 @@ static void SetupProgram(int argc, char** argv) {
|
|||||||
cc_result res;
|
cc_result res;
|
||||||
Logger_Hook();
|
Logger_Hook();
|
||||||
Platform_Init();
|
Platform_Init();
|
||||||
|
res = Platform_SetDefaultCurrentDirectory(argc, argv);
|
||||||
|
|
||||||
Options_Load();
|
Options_Load();
|
||||||
Window_Init();
|
Window_Init();
|
||||||
|
|
||||||
res = Platform_SetDefaultCurrentDirectory(argc, argv);
|
|
||||||
if (res) Logger_SysWarn(res, "setting current directory");
|
if (res) Logger_SysWarn(res, "setting current directory");
|
||||||
Platform_LogConst("Starting " GAME_APP_NAME " ..");
|
Platform_LogConst("Starting " GAME_APP_NAME " ..");
|
||||||
String_InitArray(Server.Address, ipBuffer);
|
String_InitArray(Server.Address, ipBuffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user