Skip to content

Commit

Permalink
Use correct teamnames after teamswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
glenndehaan committed Dec 31, 2018
1 parent 8f18f84 commit f479f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/controllers/Api/CsgoController.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ class CsgoController extends baseController {
serverData.locked = req.body.locked;
serverData.match = req.body.match;
serverData.CT = {
team_name: req.body.ct_name,
team_name: !req.body.half_time ? req.body.ct_name : req.body.t_name,
players: []
};
serverData.T = {
team_name: req.body.t_name,
team_name: !req.body.half_time ? req.body.t_name : req.body.ct_name,
players: []
};

Expand Down

0 comments on commit f479f19

Please sign in to comment.