diff options
-rw-r--r-- | menu.lua | 7 | ||||
-rw-r--r-- | selector.lua | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -88,6 +88,13 @@ function Menu:update(dt) end end +-- Speed up countdown +function Menu:countdownJump() + if self.countdown ~= 6 then + self.countdown = self.countdown - 1 + end +end + -- function Menu:unselectSelector(selector) local i = 0 diff --git a/selector.lua b/selector.lua index 9213f3d..17f76c1 100644 --- a/selector.lua +++ b/selector.lua @@ -80,6 +80,8 @@ function Selector:controllerPressed(control, controller) self.parent:unselectSelector(self) end end + -- Speed up countdown + self.parent:countdownJump() end -- It just must be here function Selector:controllerReleased(control, controller) |