Battle: fix emerald win condition

- winning player ALSO exits
- winner gets 100 points
This commit is contained in:
James R 2023-03-08 00:50:24 -08:00
parent 6d305deacc
commit 8ce90d7737

View file

@ -168,7 +168,7 @@ void K_CheckEmeralds(player_t *player)
return; return;
} }
player->roundscore++; // lol player->roundscore = 100; // lmao
for (i = 0; i < MAXPLAYERS; i++) for (i = 0; i < MAXPLAYERS; i++)
{ {
@ -177,11 +177,6 @@ void K_CheckEmeralds(player_t *player)
continue; continue;
} }
if (&players[i] == player)
{
continue;
}
P_DoPlayerExit(&players[i]); P_DoPlayerExit(&players[i]);
} }
} }