Prevent infinite spawn search loops by /mark cmd

This commit is contained in:
Thanos Paravantis 2016-07-01 12:32:31 +03:00
parent 7379b2069b
commit 568cbb2672

View File

@ -618,11 +618,11 @@ public class BawkBawkBattles extends TeamGame implements IThrown
setupChallengeSpawnLocations(); setupChallengeSpawnLocations();
_challenge.createMap(); _challenge.createMap();
spawnAndResetPlayers(false);
if (_settings.canMarkSpawnLocations()) if (_settings.canMarkSpawnLocations())
_challenge.markSpawnLocations(); _challenge.markSpawnLocations();
spawnAndResetPlayers(false);
_delay = System.currentTimeMillis(); _delay = System.currentTimeMillis();
_settings.setWaiting(true); _settings.setWaiting(true);
} }