diff options
author | nthirtyone <nthirtyone@gmail.com> | 2016-10-06 13:58:42 +0200 |
---|---|---|
committer | nthirtyone <nthirtyone@gmail.com> | 2016-10-06 13:58:42 +0200 |
commit | 39a4c99468b5f02730f02fb910af12d66e156c67 (patch) | |
tree | a68d69acd195f2e3a2b9ba102e6a73f52f1b4b0b | |
parent | 92c040a9c0104623b19f8f5d6590a260190b4492 (diff) | |
download | roflnauts-39a4c99468b5f02730f02fb910af12d66e156c67.zip roflnauts-39a4c99468b5f02730f02fb910af12d66e156c67.tar.gz roflnauts-39a4c99468b5f02730f02fb910af12d66e156c67.tar.bz2 |
Fixed music deletion on menu deletion
-rw-r--r-- | menu.lua | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |