1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-22 02:49:56 +08:00

Add back removed hash check

This commit is contained in:
Dan Balasescu
2025-04-07 20:10:27 +09:00
Unverified
parent f288cfc464
commit aa8ebf989b
@@ -599,7 +599,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
// Update global gameplay state to correspond to the new selection.
// Retrieve the corresponding local beatmap, since we can't directly use the playlist's beatmap info
var localBeatmap = beatmapManager.QueryBeatmap(b => b.OnlineID == gameplayBeatmapId);
var localBeatmap = beatmapManager.QueryBeatmap($@"{nameof(BeatmapInfo.OnlineID)} == $0 AND {nameof(BeatmapInfo.MD5Hash)} == {nameof(BeatmapInfo.OnlineMD5Hash)}", gameplayBeatmapId);
Beatmap.Value = beatmapManager.GetWorkingBeatmap(localBeatmap);
Ruleset.Value = ruleset;
Mods.Value = client.LocalUser.Mods.Concat(item.RequiredMods).Select(m => m.ToMod(rulesetInstance)).ToArray();