diff --git a/src/itdelatrisu/opsu/states/GamePauseMenu.java b/src/itdelatrisu/opsu/states/GamePauseMenu.java index 18139d9f..4eec52f5 100644 --- a/src/itdelatrisu/opsu/states/GamePauseMenu.java +++ b/src/itdelatrisu/opsu/states/GamePauseMenu.java @@ -191,6 +191,14 @@ public class GamePauseMenu extends BasicGameState { } } + @Override + public void mouseWheelMoved(int newValue) { + if (Options.isMouseWheelDisabled() || Options.isMouseDisabled()) + return; + + UI.changeVolume((newValue < 0) ? -1 : 1); + } + @Override public void enter(GameContainer container, StateBasedGame game) throws SlickException {