Added checkboxes to disable Bots and NPCs for single player and private lobbies

This commit is contained in:
NewHappyRabbit
2025-02-11 03:29:56 +02:00
parent a0b88f543c
commit 684b0bb2e0
12 changed files with 92 additions and 5 deletions
+4
View File
@@ -56,6 +56,8 @@ export interface LobbyConfig {
gameID: GameID;
map: GameMapType | null;
difficulty: Difficulty | null;
disableBots: boolean | null;
disableNPCs: boolean | null;
}
export function joinLobby(
@@ -77,6 +79,8 @@ export function joinLobby(
gameType: GameType.Singleplayer,
gameMap: lobbyConfig.map,
difficulty: lobbyConfig.difficulty,
disableBots: lobbyConfig.disableBots,
disableNPCs: lobbyConfig.disableNPCs,
};
}