This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-19 22:24:21 +07:00
parent c0f06b9694
commit 62dc4b1abf
3 changed files with 30 additions and 21 deletions

View File

@@ -161,6 +161,7 @@ function love.keypressed(key, scancode)
love.window.setFullscreen(SETTINGS["fullscreen"])
elseif scancode == "f2" and SCENE.title ~= "Input Config" and SCENE.title ~= "Game" then
SCENE = InputConfigScene()
elseif scancode == "f12" then REQUEST_BREAK()
-- function keys are reserved
elseif string.match(scancode, "^f[1-9]$") or string.match(scancode, "^f1[0-2]+$") then
return