1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Minor fixes to player flow.

This commit is contained in:
Dean Herbert 2016-10-27 22:27:45 +09:00
parent d6ed055682
commit 012c29addb
2 changed files with 7 additions and 4 deletions

View File

@ -105,7 +105,10 @@ namespace osu.Game.GameModes.Play
Width = 100,
Text = "Play",
Colour = new Color4(238, 51, 153, 255),
Action = () => Push(new Player { BeatmapInfo = selectedBeatmapGroup.SelectedPanel.Beatmap }),
Action = () => Push(new Player {
BeatmapInfo = selectedBeatmapGroup.SelectedPanel.Beatmap,
PlayMode = playMode.Value
}),
},
}
}

View File

@ -56,7 +56,7 @@ namespace osu.Game.GameModes.Play
};
break;
case PlayMode.Taiko:
scoreOverlay = null;
scoreOverlay = new ScoreOverlayOsu();
hitRenderer = new TaikoHitRenderer
{
@ -66,7 +66,7 @@ namespace osu.Game.GameModes.Play
};
break;
case PlayMode.Catch:
scoreOverlay = null;
scoreOverlay = new ScoreOverlayOsu();
hitRenderer = new CatchHitRenderer
{
@ -76,7 +76,7 @@ namespace osu.Game.GameModes.Play
};
break;
case PlayMode.Mania:
scoreOverlay = null;
scoreOverlay = new ScoreOverlayOsu();
hitRenderer = new ManiaHitRenderer
{