Fix infinite loop in GameWorldManager

This commit is contained in:
cnr 2016-10-25 01:43:42 -05:00
parent d6dc750ece
commit 44e016f272
1 changed files with 1 additions and 1 deletions

View File

@ -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();