fix: zero out bots pings prior bot disconnection

fix: do not hook pfnCmdStart if game doesn't support fake pings
This commit is contained in:
jeefo 2024-02-19 23:43:25 +03:00
commit a4233dfaf8
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
4 changed files with 46 additions and 15 deletions

View file

@ -1691,6 +1691,9 @@ void Bot::markStale () {
// switch chatter icon off
showChatterIcon (false, true);
// reset bots ping to default
util.resetPings (ent ());
// mark bot as leaving
m_isStale = true;