mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove extraneous Cbuf_Execute() calls
This commit is contained in:
parent
af9b7e9d8c
commit
ba9f61a163
@ -274,7 +274,6 @@ FORCEINLINE void CHostState::LoadConfig(void) const
|
|||||||
#endif // !DEDICATED
|
#endif // !DEDICATED
|
||||||
Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec \"autoexec_dev.cfg\"", cmd_source_t::kCommandSrcCode);
|
Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec \"autoexec_dev.cfg\"", cmd_source_t::kCommandSrcCode);
|
||||||
}
|
}
|
||||||
Cbuf_Execute();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -537,7 +537,6 @@ void CRConServer::Execute(const cl_rcon::request& cl_request, bool bConVar) cons
|
|||||||
else // Execute command with "<val>".
|
else // Execute command with "<val>".
|
||||||
{
|
{
|
||||||
Cbuf_AddText(Cbuf_GetCurrentPlayer(), cl_request.requestbuf().c_str(), cmd_source_t::kCommandSrcCode);
|
Cbuf_AddText(Cbuf_GetCurrentPlayer(), cl_request.requestbuf().c_str(), cmd_source_t::kCommandSrcCode);
|
||||||
Cbuf_Execute();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user