mirror of
https://github.com/ppy/osu.git
synced 2025-03-01 01:43:26 +08:00
Fix PlayMode regression.
This commit is contained in:
parent
652d18aada
commit
1ea21daa91
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user