Skip to content

Don't show replay overlay text when cinema mod is active#37092

Merged
bdach merged 3 commits intoppy:masterfrom
peppy:no-overlay-text-in-cinemas
Mar 25, 2026
Merged

Don't show replay overlay text when cinema mod is active#37092
bdach merged 3 commits intoppy:masterfrom
peppy:no-overlay-text-in-cinemas

Conversation

@peppy
Copy link
Copy Markdown
Member

@peppy peppy commented Mar 25, 2026

Closes #37030.

@bdach bdach self-requested a review March 25, 2026 07:58
Comment on lines +122 to +123
if (Mods.Value.Any(m => m is ModCinema))
return Empty();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really don't like this sort of code. For one thing, ModCinema did all of the hiding of everything itself before this, and this change creates yet another place you need to check to see what cinema does. For another, more subjective thing, this reminds me of haphazard ModManager checks in stable and how they not only absolutely stink code-quality wise, they also enable wacky implementation behaviours wherein two mods in combination do different things than one mod applied after another, and I will endlessly keep harping on about how I do not want to see that in the game ever again unless we are absolutely forced to do it.

Would much prefer this logic live in ModCinema with the rest of the hiding the mod is doing. Would suggest assigning result of CreateOverlayComponents() in Player to a field and hiding through that.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very fair

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replay / spectator mode scrolling text shouldn't display in Cinema mod

2 participants