Skip to content

Commit

Permalink
Fix: Replayed games counting as a loss (#27)
Browse files Browse the repository at this point in the history
Update solo3v3.cpp
  • Loading branch information
laasker authored Nov 12, 2024
1 parent 2b109fe commit d4ad940
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/solo3v3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ uint32 Solo3v3::GetAverageMMR(ArenaTeam* team)

void Solo3v3::CountAsLoss(Player* player, bool isInProgress)
{
if (player->IsSpectator())
return;

ArenaTeam* plrArenaTeam = sArenaTeamMgr->GetArenaTeamById(player->GetArenaTeamId(ARENA_SLOT_SOLO_3v3));

if (!plrArenaTeam)
Expand Down

0 comments on commit d4ad940

Please sign in to comment.