Skip to content

Commit 7e74db5

Browse files
committed
better checks for end round hook
1 parent a5d2af7 commit 7e74db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/overrides.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ local end_roundref = end_round
18181818
function end_round()
18191819
if
18201820
((#G.hand.cards < 1 and #G.deck.cards < 1 and #G.play.cards < 1) or (#G.hand.cards < 1 and #G.deck.cards < 1))
1821-
and G.STATE ~= G.STATES.NEW_ROUND
1821+
and G.STATE == G.STATES.SELECTING_HAND
18221822
then
18231823
if
18241824
Cryptid.enabled("set_cry_poker_hand_stuff") == true

0 commit comments

Comments
 (0)