Changed README example to use love.event.quit() to exit

This commit is contained in:
rxi
2017-01-13 23:00:02 +00:00
parent 2f1d64e150
commit 9f3c81b7c8

View File

@@ -28,7 +28,7 @@ end
function love.keypressed(key)
if key == "escape" then
os.exit()
love.event.quit()
end
end
```