added onDrop updating

This commit is contained in:
Chr1Z93 2024-08-20 20:57:37 +02:00
parent 4938d3628c
commit 422a8c1899

View File

@ -88,6 +88,10 @@ end
-- counting functions -- counting functions
------------------------ ------------------------
function onDrop()
updateColors()
end
-- updates the matcolor and handcolor variable -- updates the matcolor and handcolor variable
function updateColors() function updateColors()
matColor = playermatApi.getMatColorByPosition(self.getPosition()) matColor = playermatApi.getMatColorByPosition(self.getPosition())