Credits now stops music when you exit the screen
This commit is contained in:
1
main.lua
1
main.lua
@@ -129,6 +129,7 @@ function love.keypressed(key, scancode)
|
||||
love.window.setFullscreen(config["fullscreen"])
|
||||
elseif scancode == "f2" and scene.title ~= "Input Config" and scene.title ~= "Game" then
|
||||
scene = InputConfigScene()
|
||||
switchBGM(nil)
|
||||
-- secret sound playing :eyes:
|
||||
elseif scancode == "f8" and scene.title == "Title" then
|
||||
config.secret = not config.secret
|
||||
|
||||
Reference in New Issue
Block a user