Skip to content

Commit

Permalink
fix: adding transition from occupied to active
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaldooli committed Jan 16, 2025
1 parent e84942e commit e5fa1e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/entities/game_room/game_room.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ var validStatusTransitions = map[GameRoomStatus]map[GameRoomStatus]struct{}{
GameStatusTerminating: struct{}{},
GameStatusUnready: struct{}{},
GameStatusError: struct{}{},
GameStatusActive: struct{}{},
},
GameStatusError: {
GameStatusTerminating: struct{}{},
Expand Down

0 comments on commit e5fa1e4

Please sign in to comment.