nogame screen: escape key quits love.

This commit is contained in:
Alex Szpakowski
2018-04-01 15:05:39 -03:00
parent 3fe9e51a46
commit 388c93b049
2 changed files with 14 additions and 0 deletions
+6
View File
@@ -3257,6 +3257,12 @@ function love.nogame()
end
end
function love.keypressed(key)
if key == "escape" then
love.event.quit()
end
end
function love.resize()
create_world()
end