test workshop
This commit is contained in:
@@ -107,8 +107,8 @@ router.post('/api/setup-game', is_authenticated, async (req, res) => {
|
||||
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
|
||||
await rcon.execute_command(server_id, `game_type 0`);
|
||||
await rcon.execute_command(server_id, `game_mode 0`);
|
||||
await rcon.execute_command(server_id, `game_type 1`);
|
||||
await rcon.execute_command(server_id, `game_mode 2`);
|
||||
await rcon.execute_command(server_id, `sv_skirmish_id 0`);
|
||||
execute_cfg_on_server(server_id, './cfg/live_workshop.cfg');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user