feat: go back to debug menu when pressing start
This commit is contained in:
parent
5c93295a41
commit
61639b86d0
1 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,12 @@ function TitleScreen:update(dt)
|
||||||
self.showPressStart = (self.showPressStart == false)
|
self.showPressStart = (self.showPressStart == false)
|
||||||
self.showPressStartTimer = 0.5
|
self.showPressStartTimer = 0.5
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local keys = self:getKeys(1)
|
||||||
|
if (keys["start"].isPressed) then
|
||||||
|
scenes.debug.menu()
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue