fix: make runs expect the correct suit

dev
LeRoyce Pearson 2024-02-18 00:53:56 -07:00
parent af73c6b75f
commit bffbd29614
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ function rummy_is_valid_meld(stack)
end end
end end
local expected_suit=stack[1].rank local expected_suit=stack[1].suit
local is_valid_run=true local is_valid_run=true
for i=2,#stack do for i=2,#stack do
local card=stack[i] local card=stack[i]