From 49c6cd2edf399313f2204530ce4285299a9b6858 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 14 Aug 2016 22:41:13 +0200 Subject: Controller callbacks --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.lua') 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 -- cgit v1.1