This commit is contained in:
shoopea
2026-03-31 22:13:05 +02:00
parent cb6f5e3cfc
commit 59123c99e4
3 changed files with 119 additions and 109 deletions

View File

@@ -112,11 +112,11 @@ router.post('/api/setup-game', is_authenticated, async (req, res) => {
await rcon.execute_command(server_id, `game_mode 0`);
await rcon.execute_command(server_id, `sv_skirmish_id 10`);
execute_cfg_on_server(server_id, './cfg/live_arms_race.cfg');
} else if (game == "7") { // Workshop
} else if (game == "7") { // Prophunt
await rcon.execute_command(server_id, `game_type 0`);
await rcon.execute_command(server_id, `game_mode 0`);
await rcon.execute_command(server_id, `sv_skirmish_id 0`);
execute_cfg_on_server(server_id, './cfg/live_casual_24.cfg');
execute_cfg_on_server(server_id, './cfg/live_prophunt.cfg');
}
if (isNaN(map)) {