Skip to content

Commit 983eea5

Browse files
committed
Don't show replay overlay text when cinema mod is active
Closes ppy#37030.
1 parent 98debc8 commit 983eea5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

osu.Game/Screens/Play/ReplayPlayer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ private void load(OsuConfigManager config)
119119

120120
protected override Drawable CreateOverlayComponents()
121121
{
122+
if (Mods.Value.Any(m => m is ModCinema))
123+
return Empty();
124+
122125
OsuTextFlowContainer message = new OsuTextFlowContainer(cp => cp.Font = OsuFont.Style.Body) { AutoSizeAxes = Axes.Both };
123126
message.AddText("Watching ");
124127
message.AddText(Score.ScoreInfo.User.Username, s => s.Font = s.Font.With(weight: FontWeight.SemiBold));

0 commit comments

Comments
 (0)