Merge pull request #847 from argonui/des-fix
DES: added onDrop updating
This commit is contained in:
commit
b8994f6825
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user