diff options
| -rw-r--r-- | backend/game/hub.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/game/hub.go b/backend/game/hub.go index dc56f03..ac71152 100644 --- a/backend/game/hub.go +++ b/backend/game/hub.go @@ -599,6 +599,7 @@ func (hubs *Hubs) RestoreFromDB(ctx context.Context) error { } hubs.hubs[int(row.GameID)] = newGameHub(ctx, &game{ gameID: int(row.GameID), + gameType: gameType(row.GameType), durationSeconds: int(row.DurationSeconds), state: gameState(row.State), displayName: row.DisplayName, |
