From 6880b58de2303b8b0bd96ff26ae10557f692d4be Mon Sep 17 00:00:00 2001 From: Otto Date: Sat, 24 Oct 2026 20:15:28 +0000 Subject: [PATCH] Props added in the lobby start hidden Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01HJhXuLD2Z6hv3Wqeq9UL9K --- frontend/src/Lobbies.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Lobbies.jsx b/frontend/src/Lobbies.jsx index 407e0f3..3c21914 100644 --- a/frontend/src/Lobbies.jsx +++ b/frontend/src/Lobbies.jsx @@ -792,7 +792,7 @@ function LobbyView({ id, rules, user }) { const addPropToken = (p) => { const m = mapState.map setPropPick(false) - send(`/api/lobbies/${id}/tokens`, 'POST', { name: p.name, prop: p.prop, x: m.w / 2, y: m.h / 2, size: p.w, size_h: p.h, hidden: false }).then((r) => r.json()).then((d) => d.id && setMapSel(d.id)).catch(() => {}) + send(`/api/lobbies/${id}/tokens`, 'POST', { name: p.name, prop: p.prop, x: m.w / 2, y: m.h / 2, size: p.w, size_h: p.h, hidden: true }).then((r) => r.json()).then((d) => d.id && setMapSel(d.id)).catch(() => {}) } const addNpcToken = (n) => { const hp = n.hp > 0 ? n.hp : undefined