Skip to content

Commit

Permalink
Update with team hub fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Oct 12, 2023
1 parent 46ba8e3 commit 9e8be34
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ export class GamePageComponent implements OnDestroy {

if (this.ctxIds.playerId || null !== this.enrolledPlayerId$.value || null) {
this.enrolledPlayerId$.next(this.ctxIds.playerId || null);

// join the team-up hub for this team/game
this.hub.init(ctx.player.teamId);
}
}),
tap(c => { if (!c.game) { router.navigateByUrl("/"); } })
Expand Down

0 comments on commit 9e8be34

Please sign in to comment.