Adding Expanded championship timer
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user