increased vote time to 60 seconds

This commit is contained in:
Seraina 2022-04-18 17:01:22 +02:00
parent c3aef4dd54
commit a6fac4c1b3

View File

@ -52,7 +52,7 @@ public class VoteHandler {
}
try { // waits 20 seconds before votes get collected
Thread.sleep(30*1000);
Thread.sleep(60*1000);
} catch (InterruptedException e) {
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
}
@ -82,7 +82,7 @@ public class VoteHandler {
passengers[ghostPosition].send(
ClientGameInfoHandler.youGotGhostyfied, game);
}
try { // waits 20 seconds before votes get collected
try {
Thread.sleep(10);
} catch (InterruptedException e) {
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
@ -144,7 +144,7 @@ public class VoteHandler {
}
try { // waits 20 seconds before votes get collected
Thread.sleep(20*1000);
Thread.sleep(60*1000);
} catch (InterruptedException e) {
LOGGER.warn("Thread " + Thread.currentThread() + " was interrupted");
}