fix typo
This commit is contained in:
parent
c96cf2e93e
commit
e9182933ca
@ -14,7 +14,7 @@ router.post('/api/setup-game', is_authenticated, async (req, res) => {
|
|||||||
const team1 = req.body.team1;
|
const team1 = req.body.team1;
|
||||||
const team2 = req.body.team2;
|
const team2 = req.body.team2;
|
||||||
const selected_map = req.body.selectedMap;
|
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() != "") {
|
if (team1.trim() != "") {
|
||||||
await rcon.execute_command(server_id, `mp_teamname_1 "${team1}"`);
|
await rcon.execute_command(server_id, `mp_teamname_1 "${team1}"`);
|
||||||
|
Loading…
Reference in New Issue
Block a user