summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--button.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/button.lua b/button.lua
index f221cda..de9ef56 100644
--- a/button.lua
+++ b/button.lua
@@ -57,7 +57,7 @@ function Button:draw(scale)
end
function Button:update(dt)
self.delay = self.delay + dt
- if self.delay < Button.delay then -- Button.delay is initial
+ if self.delay > Button.delay then -- Button.delay is initial
self.delay = self.delay - Button.delay
end
end