Skip to content

Commit

Permalink
Allow resuming a game with a chug in progress
Browse files Browse the repository at this point in the history
See #51
  • Loading branch information
tyilo committed Dec 20, 2021
1 parent 75f0211 commit 19686e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/services/game.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,9 @@ export class GameService {
if (
this.game.cards.length > 0 &&
latestCard.value === 14 &&
!latestCard.chug_start_start_delta_ms
!latestCard.chug_end_start_delta_ms
) {
// TODO: Proper resume chug dialog when reloading during a started chug
this.showChugModal();
return;
}
Expand Down

0 comments on commit 19686e7

Please sign in to comment.