From c2ad2e118e525dba5284146524d720b335891bd7 Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Mon, 7 Jun 2021 17:00:54 +0200 Subject: [PATCH] fix: using proper maxRoundTime in TurnTimeoutTimer --- .../uulm/teamname/marvelous/server/lobby/TurnTimeoutTimer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/TurnTimeoutTimer.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/TurnTimeoutTimer.java index edcc210..1e45eb8 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobby/TurnTimeoutTimer.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/lobby/TurnTimeoutTimer.java @@ -27,7 +27,7 @@ public class TurnTimeoutTimer { } }; this.timer = Executors.newSingleThreadScheduledExecutor(threadFactory); - this.maxRoundTime = Server.getPartyConfig().maxRoundTime; + this.maxRoundTime = maxRoundTime; this.callback = callback; }