summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--menu.lua7
-rw-r--r--selector.lua2
2 files changed, 9 insertions, 0 deletions
diff --git a/menu.lua b/menu.lua
index ac4d85e..3031e09 100644
--- a/menu.lua
+++ b/menu.lua
@@ -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)