Reorganize rest of View
[troll.git] / src / main / java / com / codingame / game / Referee.java
index f9c442b..186ca88 100644 (file)
@@ -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;