From 4796f46c2442a5c7d23512377febff9a3d1d68f4 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Thu, 15 Aug 2024 00:53:38 +0200 Subject: [PATCH] fix defeat icon --- client/mainmenu/CStatisticScreen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/mainmenu/CStatisticScreen.cpp b/client/mainmenu/CStatisticScreen.cpp index f50fa935c..31dfe13b0 100644 --- a/client/mainmenu/CStatisticScreen.cpp +++ b/client/mainmenu/CStatisticScreen.cpp @@ -99,6 +99,7 @@ TData CStatisticScreen::extractData(StatisticDataSet stat, std::function tmpColorSet; TData plotData; + EPlayerStatus statusLastRound = EPlayerStatus::INGAME; for(auto & val : tmpData) { if(tmpColor != val.player) @@ -111,8 +112,9 @@ TData CStatisticScreen::extractData(StatisticDataSet stat, std::functionplayerColors[tmpColor.getNum()], std::vector(tmpColorSet)});