mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Fix player loading from song select
This commit is contained in:
@ -115,13 +115,11 @@ 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 = () =>
|
Action = () => Push(new Player
|
||||||
{
|
{
|
||||||
var player = Game.Dependencies.Get<Player>();
|
BeatmapInfo = selectedBeatmapGroup.SelectedPanel.Beatmap,
|
||||||
player.BeatmapInfo = selectedBeatmapGroup.SelectedPanel.Beatmap;
|
PreferredPlayMode = playMode.Value
|
||||||
player.PreferredPlayMode = playMode.Value;
|
})
|
||||||
Push(player);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user