Skip to content

Commit

Permalink
Remove extra music wheel sound from course mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Inorizushi committed Jan 20, 2022
1 parent 6844278 commit 283a3eb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions BGAnimations/ScreenSelectCourse decorations/default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,8 @@ local function InputHandler(event)
if event.DeviceInput.button == "DeviceButton_left mouse button" then
MESSAGEMAN:Broadcast("MouseLeftClick")
end
if MusicWheel ~= nil and getenv("OPList") == 0 then
if event.GameButton == "MenuLeft" and GAMESTATE:IsPlayerEnabled(player) then
overlay:GetChild("MWChange"):play()
end
if event.GameButton == "MenuRight" and GAMESTATE:IsPlayerEnabled(player) then
overlay:GetChild("MWChange"):play()
end
end
end

t[#t+1] = Def.Sound{
Name="MWChange",
File=THEME:GetPathS("","MWChange/Default_MWC"),
};

t[#t+1] = Def.Actor{
OnCommand=function(s)
SCREENMAN:GetTopScreen():SetPrevScreenName("ScreenSelectMusic")
Expand Down

0 comments on commit 283a3eb

Please sign in to comment.