core/menusystem: fix a crash when trying to get sound volume
This commit is contained in:
parent
831531b3fa
commit
592e92ea6d
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ end
|
|||
|
||||
function Menu:playSelectSound()
|
||||
if self.sound.active == true then
|
||||
self.sound.asset:setVolume(game.options.data.audio.sfx / 100)
|
||||
self.sound.asset:setVolume(core.options.data.audio.sfx / 100)
|
||||
love.audio.play( self.sound.asset )
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue