1
0

Fix round create

This commit is contained in:
Victor 2014-03-22 20:52:34 +02:00
parent fbda2f2dbb
commit 0c7a3d53ea

View File

@ -156,6 +156,9 @@ public class GameCanvas extends DoubleBufferedCanvas implements Runnable, Networ
else if (roundWinCount == -Constants.MAX_ROUNDS) finishGame(false);
else {
if (serverInstance) {
try {
Thread.sleep(200);
} catch (InterruptedException ex) { }
long seed = System.currentTimeMillis();
newRound(seed);
socketHelper.sendNewRoundSeed(seed);