Fixed F2 shortcut not resetting changed settings

This commit is contained in:
Ishaan Bhardwaj 2021-10-16 19:08:01 -04:00
parent 8bd8c0eede
commit a30791afc3

View File

@ -97,6 +97,7 @@ function love.keypressed(key, scancode)
elseif scancode == "f2" and scene.title ~= "Input Config" and scene.title ~= "Game" then
scene = InputConfigScene()
switchBGM(nil)
loadSave()
-- secret sound playing :eyes:
elseif scancode == "f8" and scene.title == "Title" then
config.secret = not config.secret