Skip to content

Commit

Permalink
Fix copy&paste issue
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jun 23, 2021
1 parent 3feed9d commit 7ce5fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/simctl/handler_robot_count.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (r *RobotCountHandler) handleRobotCount() {
}

maxBlueRobots := int(*r.c.lastRefereeMsg.Blue.MaxAllowedBots)
maxYellowRobots := int(*r.c.lastRefereeMsg.Blue.MaxAllowedBots)
maxYellowRobots := int(*r.c.lastRefereeMsg.Yellow.MaxAllowedBots)

switch *r.c.lastRefereeMsg.Stage {
case referee.Referee_PENALTY_SHOOTOUT, referee.Referee_PENALTY_SHOOTOUT_BREAK:
Expand Down

0 comments on commit 7ce5fba

Please sign in to comment.