mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +08:00
Fix starting gameplay
This commit is contained in:
parent
88ffc78103
commit
e4422167b6
@ -217,13 +217,14 @@ namespace osu.Game.Screens.Multi.Match
|
|||||||
|
|
||||||
private void onStart()
|
private void onStart()
|
||||||
{
|
{
|
||||||
//Beatmap.Value.Mods.Value = CurrentMods.Value.ToArray();
|
// todo: is this required?
|
||||||
|
Beatmap.Value.Mods.Value = CurrentMods.Value.ToArray();
|
||||||
|
|
||||||
switch (type.Value)
|
switch (type.Value)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
case GameTypeTimeshift _:
|
case GameTypeTimeshift _:
|
||||||
pushGameplayScreen?.Invoke(new PlayerLoader(() => new TimeshiftPlayer(CurrentItem)
|
this.Push(new PlayerLoader(() => new TimeshiftPlayer(CurrentItem)
|
||||||
{
|
{
|
||||||
Exited = () => leaderboard.RefreshScores()
|
Exited = () => leaderboard.RefreshScores()
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user