Skip to content

Commit

Permalink
Don't enable beatmap data cache when loading beatmap data
Browse files Browse the repository at this point in the history
Fix #9
  • Loading branch information
qe201020335 committed Apr 29, 2024
1 parent 8ef33bd commit ed879d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SongPlayHistory/Patches/DiTailsVotePatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void Prefix(bool upvote, BeatmapLevel? ____activeBeatmap) //TODO:
Plugin.Log.Warn("InMenuVoteTrackingHelper is null");
return;
}

InMenuVoteTrackingHelper.Instance.Vote(____activeBeatmap, vote);
}
}
Expand Down
10 changes: 5 additions & 5 deletions SongPlayHistory/SongPlayData/ScoringCacheManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ internal class ScoringCacheManager: IScoringCacheManager
beatmapLevelData,
beatmapKey,
beatmapLevel.beatsPerMinute,
false, //environmentName == this.environmentInfo.serializedName,
envInfo, // do we need to consider player env override?
_playerDataModel.playerData.gameplayModifiers,
_playerDataModel.playerData.playerSpecificSettings,
true);
false,
null,
null,
null,
false);

cancellationToken.ThrowIfCancellationRequested();

Expand Down

0 comments on commit ed879d9

Please sign in to comment.