Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robosturm committed Apr 27, 2024
1 parent 191830b commit d9ee009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awbwReplayReader/awbwreplayplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ qint32 AwbwReplayPlayer::getWinnerTeam()
{
for (const auto & player : gameStates[gameStates.size() - 1].players)
{
if (player.playerId == winners[0])
if (player.playerId == winners[0].toInt())
{
return player.team.toInt();
}
Expand Down

0 comments on commit d9ee009

Please sign in to comment.