Skip to content

Commit

Permalink
Made the story mode inst correction happen only in story mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AppleHair committed Sep 30, 2024
1 parent 239a2c3 commit d202401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _polymod_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"url": "https://github.com/AppleHair"
}],
"api_version": "0.5.0",
"mod_version": "1.2.0",
"mod_version": "1.2.1",
"license": "CC BY-NC 4.0,MIT"
}
1 change: 1 addition & 0 deletions scripts/modules/StoryDiffs.hxc
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class StoryDiffs extends Module {
super.onSongLoaded(event);

if (PlayState.instance == null) {return;}
if (!PlayStatePlaylist.isStoryMode) {return;}

PlayState.instance.currentInstrumental = PlayState.instance.
currentSong.getDifficulty(PlayState.instance.currentDifficulty,
Expand Down

0 comments on commit d202401

Please sign in to comment.