make leaderboard & events box smaller

This commit is contained in:
evanpelle
2024-12-25 15:36:28 -08:00
parent 8e61632b8b
commit 99e5a62ba6
3 changed files with 21 additions and 19 deletions
+5 -4
View File
@@ -4,10 +4,6 @@ import { ServerConfig } from "./Config";
import { DefaultConfig, DefaultServerConfig } from "./DefaultConfig";
export class DevServerConfig extends DefaultServerConfig {
numSpawnPhaseTurns(gameType: GameType): number {
return gameType == GameType.Singleplayer ? 40 : 200
// return 100
}
gameCreationRate(): number {
return 10 * 1000
}
@@ -22,6 +18,11 @@ export class DevConfig extends DefaultConfig {
super(sc, gc);
}
numSpawnPhaseTurns(gameType: GameType): number {
return gameType == GameType.Singleplayer ? 40 : 200
// return 100
}
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type)
const oldCost = info.cost