Fixed F2 shortcut not resetting changed settings

pull/43/head
Ishaan Bhardwaj 2021-10-16 19:08:01 -04:00
parent 8bd8c0eede
commit a30791afc3
1 changed files with 1 additions and 0 deletions

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