From 44e016f272243beec067bfa61a2d274f6b7d15d1 Mon Sep 17 00:00:00 2001 From: cnr Date: Tue, 25 Oct 2016 01:43:42 -0500 Subject: [PATCH] Fix infinite loop in GameWorldManager --- .../src/nautilus/game/arcade/managers/GameWorldManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameWorldManager.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameWorldManager.java index fdaf4c271..43a654f57 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameWorldManager.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/managers/GameWorldManager.java @@ -39,7 +39,7 @@ public class GameWorldManager implements Listener while (worldIterator.hasNext()) { long timeLeft = endTime - System.currentTimeMillis(); - if (timeLeft <= 0) continue; + if (timeLeft <= 0) break; final WorldData worldData = worldIterator.next();