summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-22 18:17:47 +0200
committerAki <nthirtyone@gmail.com>2016-08-22 18:17:47 +0200
commit7d9d6a04c0bf916da50b5ab6dbafcee4a492398f (patch)
tree2be1a3ae396dbdda1384d7d21659cd2ce6528bf6
parent4bcaf1770c0aa693e24359ee52f7552f301917d3 (diff)
downloadroflnauts-7d9d6a04c0bf916da50b5ab6dbafcee4a492398f.zip
roflnauts-7d9d6a04c0bf916da50b5ab6dbafcee4a492398f.tar.gz
roflnauts-7d9d6a04c0bf916da50b5ab6dbafcee4a492398f.tar.bz2
it even works now
-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