Skip to content

Commit 1088298

Browse files
committed
Update max bots when switching division
1 parent 1162f2f commit 1088298

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/app/statemachine/change_config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ func (s *StateMachine) processChangeUpdateConfig(newState *state.State, change *
99
if change.Division != nil {
1010
log.Printf("Change division to %v", *change.Division)
1111
newState.Division = change.Division
12+
s.updateMaxBots(newState)
1213
}
1314
if change.FirstKickoffTeam != nil {
1415
log.Printf("Change first kickoff team to %v", *change.FirstKickoffTeam)

0 commit comments

Comments
 (0)