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; }