1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 19:42:56 +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, Width = 100,
Text = "Play", Text = "Play",
Colour = new Color4(238, 51, 153, 255), 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; break;
case PlayMode.Taiko: case PlayMode.Taiko:
scoreOverlay = null; scoreOverlay = new ScoreOverlayOsu();
hitRenderer = new TaikoHitRenderer hitRenderer = new TaikoHitRenderer
{ {
@ -66,7 +66,7 @@ namespace osu.Game.GameModes.Play
}; };
break; break;
case PlayMode.Catch: case PlayMode.Catch:
scoreOverlay = null; scoreOverlay = new ScoreOverlayOsu();
hitRenderer = new CatchHitRenderer hitRenderer = new CatchHitRenderer
{ {
@ -76,7 +76,7 @@ namespace osu.Game.GameModes.Play
}; };
break; break;
case PlayMode.Mania: case PlayMode.Mania:
scoreOverlay = null; scoreOverlay = new ScoreOverlayOsu();
hitRenderer = new ManiaHitRenderer hitRenderer = new ManiaHitRenderer
{ {