1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Fix starting gameplay

This commit is contained in:
Dean Herbert 2019-02-11 19:13:57 +09:00
parent 88ffc78103
commit e4422167b6

View File

@ -217,13 +217,14 @@ namespace osu.Game.Screens.Multi.Match
private void onStart()
{
//Beatmap.Value.Mods.Value = CurrentMods.Value.ToArray();
// todo: is this required?
Beatmap.Value.Mods.Value = CurrentMods.Value.ToArray();
switch (type.Value)
{
default:
case GameTypeTimeshift _:
pushGameplayScreen?.Invoke(new PlayerLoader(() => new TimeshiftPlayer(CurrentItem)
this.Push(new PlayerLoader(() => new TimeshiftPlayer(CurrentItem)
{
Exited = () => leaderboard.RefreshScores()
}));