diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-19 17:27:27 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-19 17:27:27 +0200 |
commit | b291008e6fe01a9ee8d68c4583975469e3bf89f1 (patch) | |
tree | 96e42b8562575fddbc8463eb0c9fde40f78c2bda /main.lua | |
parent | 304266b7740d2b4d56a3d16647c2cf97ef43ddc2 (diff) | |
download | roflnauts-b291008e6fe01a9ee8d68c4583975469e3bf89f1.zip roflnauts-b291008e6fe01a9ee8d68c4583975469e3bf89f1.tar.gz roflnauts-b291008e6fe01a9ee8d68c4583975469e3bf89f1.tar.bz2 |
Quick quit key
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -48,6 +48,9 @@ function love.keypressed (key) if key == "x" then debug = not debug end + if key == "escape" then + love.event.quit() + end end -- KeyReleased |