summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--menu.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.lua b/menu.lua
index bd04215..7771f39 100644
--- a/menu.lua
+++ b/menu.lua
@@ -40,7 +40,9 @@ function Menu:new(name)
o.music = Music:new("menu.ogg")
return o
end
-function Menu:delete() end
+function Menu:delete()
+ self.music:delete()
+end
-- Load menu from file
function Menu:load(name)