Closed josefnpat closed 10 years ago
I had no idea that windows was the only one that didn't handle the OS quit.
@boolsheet suggest something along these lines:
function love.keypressed(k) if k =="f4" and love.keyboard.isDown("lshift", "rshift") then love.event.quit() end end
I did not know that by overriding
love.quit
thatlove.event.quit
is no longer called.The fix to this is to add
love.event.quit
tolove.quit