diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-22 18:17:47 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-22 18:17:47 +0200 |
commit | 7d9d6a04c0bf916da50b5ab6dbafcee4a492398f (patch) | |
tree | 2be1a3ae396dbdda1384d7d21659cd2ce6528bf6 | |
parent | 4bcaf1770c0aa693e24359ee52f7552f301917d3 (diff) | |
download | roflnauts-7d9d6a04c0bf916da50b5ab6dbafcee4a492398f.zip roflnauts-7d9d6a04c0bf916da50b5ab6dbafcee4a492398f.tar.gz roflnauts-7d9d6a04c0bf916da50b5ab6dbafcee4a492398f.tar.bz2 |
it even works now
-rw-r--r-- | button.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |