diff --git a/birb/core/music.lua b/birb/core/music.lua index 9556677..64928a4 100644 --- a/birb/core/music.lua +++ b/birb/core/music.lua @@ -54,6 +54,10 @@ function MusicManager:haveMusic() return (self.musics[1] ~= nil) end +function MusicManager:applyVolume() + self.musics[1]:setVolume(self.core.options.data.audio.music / 100) +end + function MusicManager:playMusic() if (self:haveMusic()) then self.musics[1]:setVolume(self.core.options.data.audio.music / 100)