From e200f59b7ebd87ea264f8f04bb1ca184c59d5051 Mon Sep 17 00:00:00 2001 From: robert Date: Fri, 26 Jun 2026 14:39:59 -0400 Subject: [PATCH] Hide inactive monsters from player display view Inactive monsters are now filtered out of the DisplayView so DMs can pre-stage summoned/reserve monsters without spoiling them for players. Inactive characters remain visible since their inactive state is player-relevant. Co-Authored-By: Claude Sonnet 4.6 --- src/App.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 1279873..8bff6a2 100644 --- a/src/App.js +++ b/src/App.js @@ -2414,8 +2414,9 @@ function DisplayView() { let participantsToRender = []; if (participants) { - // Show all participants, including dead ones (HP = 0) - participantsToRender = sortParticipantsByInitiative(participants, participants); + // Hide inactive monsters (pre-staged/summoned reserves) from the player view + const visibleParticipants = participants.filter(p => p.isActive || p.type !== 'monster'); + participantsToRender = sortParticipantsByInitiative(visibleParticipants, visibleParticipants); } const displayStyles = campaignBackgroundUrl