From e9182933ca1bb3fb6f796b5edc0100c9daaa12ab Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 29 Oct 2024 20:17:31 +0100 Subject: [PATCH] fix typo --- routes/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/game.js b/routes/game.js index 775b9ff..508c02b 100644 --- a/routes/game.js +++ b/routes/game.js @@ -14,7 +14,7 @@ router.post('/api/setup-game', is_authenticated, async (req, res) => { const team1 = req.body.team1; const team2 = req.body.team2; const selected_map = req.body.selectedMap; - const game_sel = req.body.game_mode.toString(); + const game_sel = req.body.game_sel.toString(); if (team1.trim() != "") { await rcon.execute_command(server_id, `mp_teamname_1 "${team1}"`);