fix: adapt menus to new sfx code
This commit is contained in:
parent
85e687276f
commit
b3dd97a272
1 changed files with 1 additions and 3 deletions
|
@ -280,9 +280,7 @@ end
|
|||
|
||||
function Menu:playNavigationSound()
|
||||
if self.sound.active == true then
|
||||
love.audio.stop( self.sound.asset )
|
||||
self.sound.asset:setVolume(core.options.data.audio.sfx / 100)
|
||||
love.audio.play( self.sound.asset )
|
||||
self.sound.asset:play()
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue