Skip to content

Commit

Permalink
fix bug with brackets leave event where player would lose event inste…
Browse files Browse the repository at this point in the history
…ad of being removed
  • Loading branch information
Nicbo committed Sep 4, 2020
1 parent c0f51a4 commit ecb553c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private void loseRound(Player loser) {
public void leaveEvent(Player player) {
super.leaveEvent(player);

if (isRunning()) {
if (fightingPlayers.contains(player)) {
loseEvent(player);
}
}
Expand Down

0 comments on commit ecb553c

Please sign in to comment.