Skip to content

Commit

Permalink
Fix custom difficulty statistics not restoring after watching a replay
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Dec 5, 2023
1 parent 2f187a2 commit b74ef7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ru/nsu/ccfit/zuev/osu/game/GameScene.java
Original file line number Diff line number Diff line change
Expand Up @@ -2098,10 +2098,10 @@ private void onExit() {
ModMenu.getInstance().setChangeSpeed(Replay.oldChangeSpeed);
ModMenu.getInstance().setFLfollowDelay(Replay.oldFLFollowDelay);

Replay.oldCustomAR = ModMenu.getInstance().getCustomAR();
Replay.oldCustomOD = ModMenu.getInstance().getCustomOD();
Replay.oldCustomCS = ModMenu.getInstance().getCustomCS();
Replay.oldCustomHP = ModMenu.getInstance().getCustomHP();
ModMenu.getInstance().setCustomAR(Replay.oldCustomAR);
ModMenu.getInstance().setCustomOD(Replay.oldCustomOD);
ModMenu.getInstance().setCustomCS(Replay.oldCustomCS);
ModMenu.getInstance().setCustomHP(Replay.oldCustomHP);
}
}

Expand Down

0 comments on commit b74ef7e

Please sign in to comment.