fix: do not override other bots ping value (resolves #284)
This commit is contained in:
parent
c0d2ae4915
commit
26edd7e35b
1 changed files with 1 additions and 1 deletions
|
|
@ -629,7 +629,7 @@ void BotSupport::emitPings (edict_t *to) {
|
||||||
constexpr int kGamePingSVC = 17;
|
constexpr int kGamePingSVC = 17;
|
||||||
|
|
||||||
for (auto &client : m_clients) {
|
for (auto &client : m_clients) {
|
||||||
if (!(client.flags & ClientFlags::Used) || client.ent == game.getLocalEntity ()) {
|
if (!(client.flags & ClientFlags::Used) || client.ent == game.getLocalEntity () || !bots[client.ent]) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue