summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/main.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/client/main.lua b/client/main.lua
index f52801c..db4b6bf 100644
--- a/client/main.lua
+++ b/client/main.lua
@@ -32,7 +32,14 @@ end
current_scene=titlescene
-for _,f in ipairs{"update","draw","keypressed","textinput","wheelmoved"} do
+for _,f in ipairs{
+ "update",
+ "draw",
+ "keypressed",
+ "textinput",
+ "wheelmoved",
+ "quit",
+} do
love[f] = function(...)
local x = current_scene[f]
if x then return x(...) end