Remove extraneous Cbuf_Execute() calls

This commit is contained in:
Kawe Mazidjatari 2022-08-21 01:34:10 +02:00
parent af9b7e9d8c
commit ba9f61a163
2 changed files with 0 additions and 2 deletions

View File

@ -274,7 +274,6 @@ FORCEINLINE void CHostState::LoadConfig(void) const
#endif // !DEDICATED
Cbuf_AddText(Cbuf_GetCurrentPlayer(), "exec \"autoexec_dev.cfg\"", cmd_source_t::kCommandSrcCode);
}
Cbuf_Execute();
}
}

View File

@ -537,7 +537,6 @@ void CRConServer::Execute(const cl_rcon::request& cl_request, bool bConVar) cons
else // Execute command with "<val>".
{
Cbuf_AddText(Cbuf_GetCurrentPlayer(), cl_request.requestbuf().c_str(), cmd_source_t::kCommandSrcCode);
Cbuf_Execute();
}
}