diff --git a/src/hooks/SceneTransition/SceneTransitionHelper.cpp b/src/hooks/SceneTransition/SceneTransitionHelper.cpp index 3085052..09b409f 100644 --- a/src/hooks/SceneTransition/SceneTransitionHelper.cpp +++ b/src/hooks/SceneTransition/SceneTransitionHelper.cpp @@ -93,7 +93,7 @@ bool SceneTransitionHelper::BasicPatch(SongCore::SongLoader::CustomBeatmapLevel* return x->difficultyBeatmaps | FirstOrDefault([&](auto&& y) { // short circuit - if (y == nullptr || y->difficulty == nullptr) return false; + if (y == nullptr || !y->difficulty) return false; BeatmapDifficulty mapDifficulty; GlobalNamespace::BeatmapDifficultySerializedMethods::BeatmapDifficultyFromSerializedName(