Skip to content

Commit 7ce5fba

Browse files
committed
Fix copy&paste issue
1 parent 3feed9d commit 7ce5fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/simctl/handler_robot_count.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (r *RobotCountHandler) handleRobotCount() {
5656
}
5757

5858
maxBlueRobots := int(*r.c.lastRefereeMsg.Blue.MaxAllowedBots)
59-
maxYellowRobots := int(*r.c.lastRefereeMsg.Blue.MaxAllowedBots)
59+
maxYellowRobots := int(*r.c.lastRefereeMsg.Yellow.MaxAllowedBots)
6060

6161
switch *r.c.lastRefereeMsg.Stage {
6262
case referee.Referee_PENALTY_SHOOTOUT, referee.Referee_PENALTY_SHOOTOUT_BREAK:

0 commit comments

Comments
 (0)