@ -81,6 +81,12 @@ wss.on("connection", (ws, req) => {
kind: "reset"
} as Message));
}
for (const s of spectators) {
s.send(JSON.stringify({
if (clients.length < 2 || player.id != currentPlayer?.id || endGame) {
The note is not visible to the blocked user.