diff --git a/src/hub.js b/src/hub.js index ebf36bed81f532cf114c5570ca043185da43d72d..ef6e6eb9d9326b8cad54f431cc80816f85a1be24 100644 --- a/src/hub.js +++ b/src/hub.js @@ -465,7 +465,7 @@ document.addEventListener("DOMContentLoaded", async () => { hubPhxChannel.on("message", ({ session_id, type, body }) => { const userInfo = hubPhxPresence.state[session_id]; if (!userInfo) return; - const maySpawn = session_id === socket.params().session_id && scene.is("entered"); + const maySpawn = scene.is("entered"); addToPresenceLog({ name: userInfo.metas[0].profile.displayName, type, body, maySpawn }); });