Adding Expanded championship timer

This commit is contained in:
Christian 'ketura' McCarty
2023-09-22 23:45:46 -05:00
parent 21e3b09dba
commit 305d92f394
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ public record GameTimer(boolean longGame, String name, int maxSecondsPerPlayer,
// 5 minutes timeout, 40 minutes per game per player
public static final GameTimer COMPETITIVE_TIMER = new GameTimer(false, "Competitive", 60 * 40, 60 * 5);
public static final GameTimer CHAMPIONSHIP_TIMER = new GameTimer(false, "WC", 60 * 20, 60 * 10);
public static final GameTimer EXPANDED_CHAMPIONSHIP_TIMER = new GameTimer(false, "WC_Expanded", 60 * 25, 60 * 10);
public static final GameTimer TOURNAMENT_TIMER = new GameTimer(false, "Tournament", 60 * 40, 60 * 5);
public static GameTimer ResolveTimer(String timer) {

View File

@@ -803,7 +803,7 @@ public class HallServer extends AbstractServer {
null, null, true, false, false, false, GameTimer.TOURNAMENT_TIMER, null);
wcGameSettings = new GameSettings(null, _formatLibrary.getFormat(_tournament.getFormat()),
null, null, true, false, false, false, GameTimer.CHAMPIONSHIP_TIMER, null);
null, null, true, false, false, false, GameTimer.EXPANDED_CHAMPIONSHIP_TIMER, null);
}
@Override