Merge pull request #847 from argonui/des-fix

DES: added onDrop updating
This commit is contained in:
dscarpac 2024-08-20 20:49:54 -05:00 committed by GitHub
commit b8994f6825
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,6 +88,10 @@ end
-- counting functions
------------------------
function onDrop()
updateColors()
end
-- updates the matcolor and handcolor variable
function updateColors()
matColor = playermatApi.getMatColorByPosition(self.getPosition())
@ -123,4 +127,4 @@ function updateValue()
size = size + 1
end
self.UI.setAttribute("Count", "text", size)
end
end