diff --git a/rehlds/engine/host_cmd.cpp b/rehlds/engine/host_cmd.cpp index 3bf96c6..4bd29a1 100644 --- a/rehlds/engine/host_cmd.cpp +++ b/rehlds/engine/host_cmd.cpp @@ -219,6 +219,10 @@ void Host_InitializeGameDLL(void) SV_CheckBlendingInterface(); SV_CheckSaveGameCommentInterface(); Cbuf_Execute(); + +#ifdef REHLDS_FIXES // DONE: Set cstrike flags on server start + SetCStrikeFlags(); +#endif } void Host_Motd_f(void) diff --git a/rehlds/engine/sys_dll2.cpp b/rehlds/engine/sys_dll2.cpp index a0fccc4..5427499 100644 --- a/rehlds/engine/sys_dll2.cpp +++ b/rehlds/engine/sys_dll2.cpp @@ -699,9 +699,6 @@ bool CDedicatedServerAPI::Init_noVirt(char *basedir, char *cmdline, CreateInterf Q_snprintf(text, ARRAYSIZE(text), "exec %s\n", servercfgfile.string); text[255] = 0; Cbuf_InsertText(text); -#ifdef REHLDS_FIXES // DONE: Set cstrike flags on server start - SetCStrikeFlags(); -#endif return true; }