Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions osu.Game/Screens/Play/ReplayPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
using osu.Game.Screens.Play.PlayerSettings;
using osu.Game.Screens.Ranking;
using osu.Game.Screens.Select.Leaderboards;
using osu.Game.Skinning;
using osu.Game.Users;

namespace osu.Game.Screens.Play
Expand Down Expand Up @@ -100,15 +101,18 @@ private void load(OsuConfigManager config)
playbackSettings.UserPlaybackRate.BindTo(master.UserPlaybackRate);

HUDOverlay.PlayerSettingsOverlay.AddAtStart(playbackSettings);
AddInternal(failIndicator = new ReplayFailIndicator(GameplayClockContainer)
AddInternal(new RulesetSkinProvidingContainer(GameplayState.Ruleset, GameplayState.Beatmap, Beatmap.Value.Skin)
{
GoToResults = () =>
Child = failIndicator = new ReplayFailIndicator(GameplayClockContainer)
{
if (!this.IsCurrentScreen())
return;

ValidForResume = false;
this.Push(new SoloResultsScreen(Score.ScoreInfo));
GoToResults = () =>
{
if (!this.IsCurrentScreen())
return;

ValidForResume = false;
this.Push(new SoloResultsScreen(Score.ScoreInfo));
}
}
});
}
Expand Down
Loading