Skip to content

Commit

Permalink
fix: adding transition from unready to active
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaldooli committed Jan 15, 2025
1 parent 3850d7f commit e84942e
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
@@ -160,6 +160,7 @@ var validStatusTransitions = map[GameRoomStatus]map[GameRoomStatus]struct{}{
GameStatusReady: struct{}{},
GameStatusError: struct{}{},
GameStatusPending: struct{}{},
GameStatusActive: struct{}{},
},
GameStatusActive: {
GameStatusReady: struct{}{},

0 comments on commit e84942e

Please sign in to comment.