feat: go back to debug menu when pressing start

This commit is contained in:
Kazhnuz 2020-08-16 11:18:51 +02:00
parent 5c93295a41
commit 61639b86d0

View file

@ -83,6 +83,12 @@ function TitleScreen:update(dt)
self.showPressStart = (self.showPressStart == false)
self.showPressStartTimer = 0.5
end
local keys = self:getKeys(1)
if (keys["start"].isPressed) then
scenes.debug.menu()
end
end
end