Fixed formatting
This commit is contained in:
parent
d533aa1c9b
commit
5cea6acfc9
@ -54,7 +54,6 @@ function updateValue()
|
|||||||
local hand = Player[handColor].getHandObjects()
|
local hand = Player[handColor].getHandObjects()
|
||||||
local size = 0
|
local size = 0
|
||||||
|
|
||||||
|
|
||||||
for _, obj in pairs(hand) do
|
for _, obj in pairs(hand) do
|
||||||
if obj.type == "Card" then
|
if obj.type == "Card" then
|
||||||
size = size + 1
|
size = size + 1
|
||||||
@ -64,4 +63,3 @@ function updateValue()
|
|||||||
-- update button label and color
|
-- update button label and color
|
||||||
self.editButton({ index = 0, font_color = "White", label = size })
|
self.editButton({ index = 0, font_color = "White", label = size })
|
||||||
end
|
end
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user