Merge branch 'main' of https://github.com/argonui/SCED
This commit is contained in:
commit
8f7cac79aa
@ -54,7 +54,6 @@ function updateValue()
|
||||
local hand = Player[handColor].getHandObjects()
|
||||
local size = 0
|
||||
|
||||
|
||||
for _, obj in pairs(hand) do
|
||||
if obj.type == "Card" then
|
||||
size = size + 1
|
||||
@ -64,4 +63,3 @@ function updateValue()
|
||||
-- update button label and color
|
||||
self.editButton({ index = 0, font_color = "White", label = size })
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user