summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-14 22:41:13 +0200
committerAki <nthirtyone@gmail.com>2016-08-14 22:41:13 +0200
commit49c6cd2edf399313f2204530ce4285299a9b6858 (patch)
treeafe62f1543e98f4273d2bb6045bc27d46acf1636 /main.lua
parent3038bd171700d91e56a4050943925a02f5b1eda6 (diff)
downloadroflnauts-49c6cd2edf399313f2204530ce4285299a9b6858.zip
roflnauts-49c6cd2edf399313f2204530ce4285299a9b6858.tar.gz
roflnauts-49c6cd2edf399313f2204530ce4285299a9b6858.tar.bz2
Controller callbacks
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index a35110a..a708ecb 100644
--- a/main.lua
+++ b/main.lua
@@ -87,7 +87,7 @@ function love.keyreleased(key) Controller.keyreleased(key) end
function Controller.controlpressed(set, action, key)
-- pass to current Scene
Scene:controlpressed(set, action, key)
- -- global quit
+ -- globals
if key == "escape" or key == "f1" then
love.event.quit()
end