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:
BeniS
2013-01-31 20:31:21 +13:00
parent a0b2504f11
commit 9e208fa792
3 changed files with 24 additions and 24 deletions

View File

@@ -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