From 805b312daccfa6d21a2169fea7fbd38bad9fcd8b Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 15 Mar 2023 00:39:04 +0000 Subject: add quit to scene methods --- client/main.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'client/main.lua') 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 -- cgit v1.2.3