X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/d8cab95e5af1dcf21071cae9e66766df701bc301..c6444a57cd4f106c6b64dc7c02ef8cc594067d8e:/src/main/java/com/codingame/game/View.java diff --git a/src/main/java/com/codingame/game/View.java b/src/main/java/com/codingame/game/View.java index cfde0eb..9d5cd80 100644 --- a/src/main/java/com/codingame/game/View.java +++ b/src/main/java/com/codingame/game/View.java @@ -595,7 +595,7 @@ class View { void animateLoss(int x, int y, int size, String message) { int startX; if (x < 1920/2) { startX = 1920; } - else if (x > 1920/2) { startX = 1920; } // XXX + else if (x > 1920/2) { startX = 0; } else { startX = 1920 * random.nextInt(2); } Text msg = graphicEntityModule.createText(message)