diff options
author | ubq323 <ubq323@ubq323.website> | 2023-03-15 00:39:04 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-03-15 00:39:04 +0000 |
commit | 805b312daccfa6d21a2169fea7fbd38bad9fcd8b (patch) | |
tree | 4d591f1518abfde5ef4317f65b7aac7313d48337 /client | |
parent | dd12ceb233aa44101f819700d5467d8ba4d2fb4e (diff) |
add quit to scene methods
Diffstat (limited to 'client')
-rw-r--r-- | client/main.lua | 9 |
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 |