diff --git a/poker/table.go b/poker/table.go index a9505f7..89311a2 100644 --- a/poker/table.go +++ b/poker/table.go @@ -142,7 +142,8 @@ func (t *Table) Stand(username string) (int64, error) { t.mu.Unlock() return 0, errors.New("not seated") } - if t.Hand.Phase != PhaseWaiting && !seat.Folded { + // Allow standing if folded OR if marked as disconnected (SitOut mid-hand) + if t.Hand.Phase != PhaseWaiting && !seat.Folded && !seat.SitOut { t.mu.Unlock() return 0, errors.New("cannot stand mid-hand while active") }