We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e96b0 commit b339284Copy full SHA for b339284
internal/app/engine/process_botremoved.go
@@ -35,7 +35,7 @@ func (e *Engine) processBotNumberPerTeam(team state.Team) {
35
e.Enqueue(createGameEventChange(state.GameEvent_TOO_MANY_ROBOTS, state.GameEvent{
36
Event: &state.GameEvent_TooManyRobots_{
37
TooManyRobots: &state.GameEvent_TooManyRobots{
38
- ByTeam: e.currentState.Command.ForTeam,
+ ByTeam: &team,
39
NumRobotsAllowed: &numBotsAllowed,
40
NumRobotsOnField: &numBots,
41
BallLocation: ballPos,
0 commit comments