mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Fix 255 also another cooldown bug:
* If you use the cooldown during the ping delay time it wouldn't init the cooldown again.
This commit is contained in:
@@ -8,6 +8,5 @@ function UIButton.create()
|
||||
end
|
||||
|
||||
function UIButton:onMouseRelease(pos, button)
|
||||
if self:isPressed() then return true end
|
||||
return false
|
||||
return self:isPressed()
|
||||
end
|
||||
|
Reference in New Issue
Block a user