fix: do not handle client commands from fakeclients (ref: #292)
This commit is contained in:
parent
9d8318e584
commit
544d858fe6
1 changed files with 4 additions and 0 deletions
|
|
@ -2061,6 +2061,10 @@ void BotControl::handleEngineCommands () {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BotControl::handleClientSideCommandsWrapper (edict_t *ent, bool isMenus) {
|
bool BotControl::handleClientSideCommandsWrapper (edict_t *ent, bool isMenus) {
|
||||||
|
if (ent && (ent->v.flags & FL_FAKECLIENT)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
collectArgs ();
|
collectArgs ();
|
||||||
setIssuer (ent);
|
setIssuer (ent);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue