From 7d9d6a04c0bf916da50b5ab6dbafcee4a492398f Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 22 Aug 2016 18:17:47 +0200 Subject: it even works now --- button.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1