mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix map would always be converted to itself when actually converting to a different game mode.
This commit is contained in:
@ -50,15 +50,16 @@ namespace osu.Game.Modes.UI
|
||||
protected override Container<Drawable> Content => content;
|
||||
protected override bool AllObjectsJudged => Playfield.HitObjects.Children.All(h => h.Judgement.Result.HasValue);
|
||||
|
||||
protected Playfield<TObject> Playfield;
|
||||
protected abstract PlayMode PlayMode { get; }
|
||||
|
||||
protected Playfield<TObject> Playfield;
|
||||
protected Beatmap<TObject> Beatmap;
|
||||
|
||||
private Container content;
|
||||
|
||||
protected HitRenderer(Beatmap beatmap)
|
||||
{
|
||||
Beatmap = beatmap.ConvertTo<TObject>();
|
||||
Beatmap = beatmap.ConvertTo<TObject>(PlayMode);
|
||||
|
||||
RelativeSizeAxes = Axes.Both;
|
||||
|
||||
|
Reference in New Issue
Block a user