Pass item rather than ID

This commit is contained in:
Dean Herbert
2019-02-08 18:33:49 +09:00
parent e8aed6b686
commit 6c4d289901
2 changed files with 6 additions and 6 deletions

View File

@ -235,7 +235,7 @@ namespace osu.Game.Screens.Multi.Match
{
default:
case GameTypeTimeshift _:
pushGameplayScreen?.Invoke(new PlayerLoader(() => new TimeshiftPlayer(Playlist.First().ID)
pushGameplayScreen?.Invoke(new PlayerLoader(() => new TimeshiftPlayer(Playlist.First())
{
Exited = () => leaderboard.RefreshScores()
}));