From c411f1e7771de1dae05f72de4db82999802c8ae4 Mon Sep 17 00:00:00 2001 From: jeefo Date: Tue, 4 Oct 2022 12:30:14 +0300 Subject: [PATCH] fix: reset graph authors upon graph reset (should fix #373) --- src/graph.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/graph.cpp b/src/graph.cpp index 0ffc2c4..2df7d4f 100644 --- a/src/graph.cpp +++ b/src/graph.cpp @@ -33,6 +33,9 @@ void BotGraph::reset () { for (int team = Team::Terrorist; team < kGameTeamNum; ++team) { m_highestDamage[team] = 1; } + + m_graphAuthor.clear (); + m_graphModified.clear (); } int BotGraph::clearConnections (int index) {