Add teams to public lobby

This commit is contained in:
Evan
2025-04-02 13:46:11 -07:00
parent 1e480b7939
commit 118a826025
2 changed files with 14 additions and 12 deletions
+2 -1
View File
@@ -5,7 +5,7 @@ import http from "http";
import path from "path";
import { fileURLToPath } from "url";
import { getServerConfigFromServer } from "../core/configuration/ConfigLoader";
import { Difficulty, GameMapType, GameType } from "../core/game/Game";
import { Difficulty, GameMapType, GameMode, GameType } from "../core/game/Game";
import { PseudoRandom } from "../core/PseudoRandom";
import { GameConfig, GameInfo } from "../core/Schemas";
import { generateID } from "../core/Util";
@@ -237,6 +237,7 @@ async function schedulePublicGame() {
instantBuild: false,
disableNPCs: false,
disableNukes: false,
gameMode: Math.random() < 0.7 ? GameMode.FFA : GameMode.Team,
bots: 400,
} as GameConfig;