Merge pull request #973 from argonui/hand-helper

Hand Helper: Fixed formatting
This commit is contained in:
dscarpac 2024-11-10 10:55:07 -06:00 committed by GitHub
commit ae05ef7f5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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