From 8f11da2ba5ebc717206f6a6f671170cb77e11512 Mon Sep 17 00:00:00 2001 From: typedeck0 <113395677+typedeck0@users.noreply.github.com> Date: Tue, 21 Feb 2023 19:16:04 -0500 Subject: [PATCH] fix team 0 --- know_thy_enemy.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/know_thy_enemy.cpp b/know_thy_enemy.cpp index 87d9c84..6b81e27 100644 --- a/know_thy_enemy.cpp +++ b/know_thy_enemy.cpp @@ -348,6 +348,8 @@ uint16_t selected_team = 0; void record_agent(ag* agent, uint16_t instid) { + if (agent->team == 0) + return; std::lock_guardlock(mtx); if (history.find(agent->team) == history.end()) {