X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/9656502aaa68fb88bfc0664b0d60e8ed25a9acb0..1283a2efac37c95016224dd832ebac81ce8a99d7:/src/main/java/com/codingame/game/Referee.java diff --git a/src/main/java/com/codingame/game/Referee.java b/src/main/java/com/codingame/game/Referee.java index dfa3324..3aef88d 100644 --- a/src/main/java/com/codingame/game/Referee.java +++ b/src/main/java/com/codingame/game/Referee.java @@ -172,6 +172,8 @@ public class Referee extends AbstractReferee { boolean noStones = true; int delta = 0; for (Player player : gameManager.getActivePlayers()) { + if (model.haveWinner() && player.getIndex() == model.getLoser()) + continue; player.stoneThrow = player.model.getStones(); player.model.setStones(0); delta += player.stoneThrow * player.model.getMultiplier();