mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Core: fix linker error for dedicated server builds
ImguiSystem should not be compiled for dedicated server builds.
This commit is contained in:
parent
72c71fac8b
commit
874314ee1c
@ -18,7 +18,9 @@
|
||||
#include "mathlib/mathlib.h"
|
||||
#include "launcher/launcher.h"
|
||||
#include "protobuf/stubs/common.h"
|
||||
#ifndef DEDICATED
|
||||
#include "gameui/imgui_system.h"
|
||||
#endif // !DEDICATED
|
||||
|
||||
#ifndef DEDICATED
|
||||
#define SDK_DEFAULT_CFG "cfg/system/startup_default.cfg"
|
||||
@ -125,7 +127,9 @@ void SDK_Init()
|
||||
s_bConsoleInitialized = Console_Init(bAnsiColor);
|
||||
}
|
||||
|
||||
#ifndef DEDICATED
|
||||
ImguiSystem()->SetEnabled(!CommandLine()->CheckParm("-noimgui"));
|
||||
#endif // !DEDICATED
|
||||
|
||||
SpdLog_Init(bAnsiColor);
|
||||
Show_Emblem();
|
||||
|
Loading…
x
Reference in New Issue
Block a user