core/assets: options are now in the "core" namespace

This commit is contained in:
Kazhnuz 2019-02-04 08:11:28 +01:00
parent adc0b40c3c
commit 03ac5cc629

View file

@ -90,7 +90,7 @@ function Assets:setMusic(filename)
if filename ~= nil then
love.audio.stop( )
self.music = love.audio.newSource(filename, "stream" )
self.music:setVolume(game.options.data.audio.music / 100)
self.music:setVolume(core.options.data.audio.music / 100)
end
end