fix: using proper maxRoundTime in TurnTimeoutTimer

This commit is contained in:
Yannik Bretschneider 2021-06-07 17:00:54 +02:00
parent 0b41a9c7d8
commit c2ad2e118e

View File

@ -27,7 +27,7 @@ public class TurnTimeoutTimer {
}
};
this.timer = Executors.newSingleThreadScheduledExecutor(threadFactory);
this.maxRoundTime = Server.getPartyConfig().maxRoundTime;
this.maxRoundTime = maxRoundTime;
this.callback = callback;
}