Skip to content

Commit b5cb3e0

Browse files
committed
[feature] Remove team 'both' - it is rather confusing and misleading
1 parent adf9565 commit b5cb3e0

File tree

3 files changed

+27
-35
lines changed

3 files changed

+27
-35
lines changed

internal/app/controller/state.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ func (t Team) toProto() refproto.Team {
4949
return refproto.Team_YELLOW
5050
} else if t == TeamBlue {
5151
return refproto.Team_BLUE
52-
} else if t == TeamBoth {
53-
return refproto.Team_BOTH
5452
}
5553
return refproto.Team_UNKNOWN
5654
}

pkg/refproto/ssl_game_controller_common.pb.go

Lines changed: 27 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/refproto/ssl_game_controller_common.proto

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ enum Team {
88
YELLOW = 1;
99
// blue team
1010
BLUE = 2;
11-
// both teams
12-
BOTH = 3;
1311
}
1412

1513
// BotId is the combination of a team and a robot id

0 commit comments

Comments
 (0)