X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/3d557e30e1e2007b846449248a11cc3d8367d1f9..59d8ce65d474d6d46b16cae26ebb6db7cda5c8b2:/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 f9c442b..186ca88 100644 --- a/src/main/java/com/codingame/game/Referee.java +++ b/src/main/java/com/codingame/game/Referee.java @@ -168,7 +168,7 @@ public class Referee extends AbstractReferee { if (model.haveWinner()) { int loser = model.getLoser(); - gameManager.getPlayer(loser).view.destroy(); + gameManager.getPlayer(loser).view.defeat(); victory = true; } else if (model.exhausted()) exhausted = true;