1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 14:40:24 +08:00

Fix PlayMode regression.

This commit is contained in:
Dean Herbert
2017-03-06 14:25:38 +09:00
Unverified
parent 652d18aada
commit 1ea21daa91
+1 -1
View File
@@ -24,7 +24,7 @@ namespace osu.Game.Beatmaps
/// </summary>
public PlayMode? PreferredPlayMode;
public PlayMode PlayMode => beatmap?.BeatmapInfo?.Mode > PlayMode.Osu || !PreferredPlayMode.HasValue ? beatmap.BeatmapInfo.Mode : PreferredPlayMode.Value;
public PlayMode PlayMode => beatmap?.BeatmapInfo?.Mode > PlayMode.Osu ? beatmap.BeatmapInfo.Mode : PreferredPlayMode ?? PlayMode.Osu;
public readonly bool WithStoryboard;