fix: problems with breakable on cs_mari (ref #686)

fix: goal selection on some zombie  maps (ref #684)
This commit is contained in:
jeefo 2025-04-03 15:12:06 +03:00
commit d6d76e136d
No known key found for this signature in database
GPG key ID: D696786B81B667C8
12 changed files with 95 additions and 86 deletions

View file

@ -549,7 +549,7 @@ void MessageDispatcher::start (edict_t *ent, int32_t type) {
m_bot = bots[ent];
if (!m_bot) {
m_current = NetMsg::None;
stopCollection ();
return;
}
}
@ -561,7 +561,8 @@ void MessageDispatcher::stop () {
return;
}
(this->*m_handlers[m_current]) ();
m_current = NetMsg::None;
stopCollection ();
}
void MessageDispatcher::ensureMessages () {