diff --git a/r5dev/client/cdll_engine_int.cpp b/r5dev/client/cdll_engine_int.cpp index 1f89b967..ad82fa21 100644 --- a/r5dev/client/cdll_engine_int.cpp +++ b/r5dev/client/cdll_engine_int.cpp @@ -31,15 +31,15 @@ void __fastcall HFrameStageNotify(CHLClient* rcx, ClientFrameStage_t frameStage) if (!g_pCmdLine->CheckParm("-devsdk")) { - IVEngineClient_CommandExecute(NULL, "exec autoexec.cfg"); IVEngineClient_CommandExecute(NULL, "exec autoexec_server.cfg"); IVEngineClient_CommandExecute(NULL, "exec autoexec_client.cfg"); + IVEngineClient_CommandExecute(NULL, "exec autoexec.cfg"); } else // Development configs. { - IVEngineClient_CommandExecute(NULL, "exec autoexec_dev.cfg"); IVEngineClient_CommandExecute(NULL, "exec autoexec_server_dev.cfg"); IVEngineClient_CommandExecute(NULL, "exec autoexec_client_dev.cfg"); + IVEngineClient_CommandExecute(NULL, "exec autoexec_dev.cfg"); } *(bool*)m_bRestrictServerCommands = true; // Restrict commands. diff --git a/r5dev/engine/host_state.cpp b/r5dev/engine/host_state.cpp index a55805b7..0dc8e6f9 100644 --- a/r5dev/engine/host_state.cpp +++ b/r5dev/engine/host_state.cpp @@ -134,19 +134,19 @@ void HCHostState_FrameUpdate(void* rcx, void* rdx, float time) if (!g_pCmdLine->CheckParm("-devsdk")) { - IVEngineClient_CommandExecute(NULL, "exec autoexec.cfg"); IVEngineClient_CommandExecute(NULL, "exec autoexec_server.cfg"); #ifndef DEDICATED IVEngineClient_CommandExecute(NULL, "exec autoexec_client.cfg"); #endif // !DEDICATED + IVEngineClient_CommandExecute(NULL, "exec autoexec.cfg"); } else // Development configs. { - IVEngineClient_CommandExecute(NULL, "exec autoexec_dev.cfg"); IVEngineClient_CommandExecute(NULL, "exec autoexec_server_dev.cfg"); #ifndef DEDICATED IVEngineClient_CommandExecute(NULL, "exec autoexec_client_dev.cfg"); #endif // !DEDICATED + IVEngineClient_CommandExecute(NULL, "exec autoexec_dev.cfg"); } *(bool*)m_bRestrictServerCommands = true; // Restrict commands.