Skip to content

Commit

Permalink
Don't warn people about leaving live games that are paused
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Aug 19, 2024
1 parent e0f3416 commit b0677fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Game/AntiGrief.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ function checkForLeavingLiveGame(pathname: string) {
was_player &&
!on_game_page &&
was_live_game &&
live_game_phase === "play"
live_game_phase === "play" &&
!goban?.paused_since
) {
const t = toast(
<div>
Expand Down

0 comments on commit b0677fe

Please sign in to comment.