indicate balancing winner better

This commit is contained in:
2026-05-03 11:23:24 +02:00
parent a4427f7f67
commit 4eaae5d940
4 changed files with 15 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ struct ArenaStatus
TeamStatus teams[2];
bool finished = false;
int winnerTeam = -1; // 0 or 1 when finished; -1 while running
};
class ArenaSimulation
@@ -77,6 +78,7 @@ private:
EntityId m_team2HqId;
bool m_finished;
int m_winnerTeam;
std::atomic<bool> m_stopRequested;
mutable std::mutex m_statusMutex;