server: 0018-spectators-see-all

TICKET-326: spectators see everything. Without the pair ygol.room.spectatorview=hidden every observer gets the unmasked stream, the late-watcher snapshot included; with it the stock masked stream.

Replayed from Tools/YGOLegacy/patches/0018-spectators-see-all.patch in the Unity repo.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
donnyandClaude Fable 5.1 committed 2026-10-14 20:58:59 -07:00
1 parent 2c081162ff
commit a9e5f2d5eb
4 files changed
+190 -48

No files matched your search

+1
View File
@@ -421,6 +421,7 @@ extern bool bootstrap_closed;
bool IsBootstrapToken(const char* token);
void SetBootstrapSecret(const char* token);
bool WatchersAllowed();
bool SpectatorsSeeAll(); // YGOL spectators see all
inline bool IsZeroId(const uint8_t* id) {
for(int i = 0; i < 16; ++i)
if(id[i])