From 19069f039be052cfe7d52f2d37836f63bd0fd4fc Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 12 Apr 2024 20:53:19 +0200 Subject: [PATCH] Engine: exec liveapi.cfg on start Allow configuration of the LiveAPI system --- r5dev/engine/host_state.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r5dev/engine/host_state.cpp b/r5dev/engine/host_state.cpp index 6704a7ff..8b1cc15a 100644 --- a/r5dev/engine/host_state.cpp +++ b/r5dev/engine/host_state.cpp @@ -407,6 +407,9 @@ void CHostState::LoadConfig(void) const Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec tools/rcon_client_dev.cfg\n", cmd_source_t::kCommandSrcCode); #endif // !DEDICATED } +#ifndef CLIENT_DLL + Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec liveapi.cfg\n", cmd_source_t::kCommandSrcCode); +#endif //!CLIENT_DLL #ifndef DEDICATED Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec bind.cfg\n", cmd_source_t::kCommandSrcCode); #endif // !DEDICATED