Removed ghostVoteTimer from vote handler, so that the game works again

This commit is contained in:
Seraina 2022-04-28 18:30:57 +02:00
parent 8479479b49
commit 49ee585e3e

View File

@ -50,7 +50,12 @@ public class VoteHandler {
} }
} }
Timer.ghostVoteTimer(game); //Timer.ghostVoteTimer(game);
try {
Thread.sleep(10*1000);
} catch (InterruptedException e) {
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
}
int currentMax = ghostVoteEvaluation(passengers, votesForPlayers, game.getGameState().getClientVoteData(), game); int currentMax = ghostVoteEvaluation(passengers, votesForPlayers, game.getGameState().getClientVoteData(), game);