From b3dd97a2722b9baf7bb48a4b76e342a3e5d83301 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 21 Apr 2021 17:12:47 +0200 Subject: [PATCH] fix: adapt menus to new sfx code --- sonic-radiance.love/core/modules/menusystem/parent.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sonic-radiance.love/core/modules/menusystem/parent.lua b/sonic-radiance.love/core/modules/menusystem/parent.lua index ad613f3..8ccb0d8 100644 --- a/sonic-radiance.love/core/modules/menusystem/parent.lua +++ b/sonic-radiance.love/core/modules/menusystem/parent.lua @@ -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