From d1c2f8634bebebc317284d63861fd4d609619733 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 20 Apr 2019 17:42:04 +0200 Subject: [PATCH] modules/menusystem: rename correctly internal navigations sound function --- gamecore/modules/menusystem/parent.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamecore/modules/menusystem/parent.lua b/gamecore/modules/menusystem/parent.lua index b3ae4bb..dfcf139 100644 --- a/gamecore/modules/menusystem/parent.lua +++ b/gamecore/modules/menusystem/parent.lua @@ -237,7 +237,7 @@ function Menu:setCursor(cursorid) end function Menu:moveCursor(new_selected) - self:playSelectSound() + self:playNavigationSound() if new_selected < 1 then self.widget.selected = #self.widget.list + new_selected else @@ -257,7 +257,7 @@ function Menu:setSound(soundasset) self.sound.asset = soundasset end -function Menu:playSelectSound() +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)