diff --git a/routes/game.js b/routes/game.js index 047d1ab..243232f 100644 --- a/routes/game.js +++ b/routes/game.js @@ -13,7 +13,7 @@ router.post('/api/setup-game', is_authenticated, async (req, res) => { const server_id = req.body.server_id; const team1 = req.body.team1; const team2 = req.body.team2; - const map = req.body.map; + var map = req.body.map; const game = req.body.game.toString(); switch(map){