Fixed F2 shortcut not resetting changed settings
parent
8bd8c0eede
commit
a30791afc3
1
main.lua
1
main.lua
|
@ -97,6 +97,7 @@ function love.keypressed(key, scancode)
|
||||||
elseif scancode == "f2" and scene.title ~= "Input Config" and scene.title ~= "Game" then
|
elseif scancode == "f2" and scene.title ~= "Input Config" and scene.title ~= "Game" then
|
||||||
scene = InputConfigScene()
|
scene = InputConfigScene()
|
||||||
switchBGM(nil)
|
switchBGM(nil)
|
||||||
|
loadSave()
|
||||||
-- secret sound playing :eyes:
|
-- secret sound playing :eyes:
|
||||||
elseif scancode == "f8" and scene.title == "Title" then
|
elseif scancode == "f8" and scene.title == "Title" then
|
||||||
config.secret = not config.secret
|
config.secret = not config.secret
|
||||||
|
|
Loading…
Reference in New Issue