summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-06-15 17:19:11 +0200
committerAki <nthirtyone@gmail.com>2017-06-15 17:19:11 +0200
commitde4650f205a7c5f6fc5ffd7ec995eb0721c34296 (patch)
treed232a50f71715e3e8f77926ffa681debf081b852
parent20190e7e7878c9217dc2633cbb912e405c19074f (diff)
downloadroflnauts-de4650f205a7c5f6fc5ffd7ec995eb0721c34296.zip
roflnauts-de4650f205a7c5f6fc5ffd7ec995eb0721c34296.tar.gz
roflnauts-de4650f205a7c5f6fc5ffd7ec995eb0721c34296.tar.bz2
No more global quit
-rw-r--r--main.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index 4a56c9d..ba1bfca 100644
--- a/main.lua
+++ b/main.lua
@@ -72,9 +72,6 @@ function love.keyreleased (key) Controller.keyreleased(key) end
-- Controller callbacks
function Controller.controlpressed (set, action, key)
Scene:controlpressed(set, action, key)
- if key == "escape" then
- love.event.quit()
- end
if key == "f5" then
debug = not debug
end