X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/a78210b2e4295eaf8dee8215d4ffe5e062b4efb3..c6444a57cd4f106c6b64dc7c02ef8cc594067d8e:/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;