Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

arena: silence crouch-button debug spam, accurate welcome log

- Remove per-frame console.log that fired on every paint of the mobile
crouch button (left over from earlier UI debug).
- Welcome log now prints actual peer handles (or "arena empty") instead
of the misleading "N already in" that was counting self.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

+7 -4
+7 -4
system/public/aesthetic.computer/disks/arena.mjs
··· 310 310 } 311 311 const msg = typeof content === "string" ? JSON.parse(content) : content; 312 312 if (type === "arena:welcome") { 313 - console.log(`๐ŸŸ๏ธ welcome โ†’ ${msg.you}, ${msg.roster?.length ?? 0} already in`); 313 + const roster = msg.roster || []; 314 + const peers = roster.filter((h) => h !== msg.you); 315 + console.log( 316 + peers.length 317 + ? `๐ŸŸ๏ธ welcome โ†’ ${msg.you}; peers: ${peers.join(", ")}` 318 + : `๐ŸŸ๏ธ welcome โ†’ ${msg.you} (arena empty)`, 319 + ); 314 320 return; 315 321 } 316 322 if (type === "arena:snap") { onSnap(msg); return; } // WS fallback ··· 1977 1983 if (name === "jump" || name === "crouch" || name === "up" || name === "down" || name === "left" || name === "right") { 1978 1984 // Jump/Crouch/Arrow buttons have animation states 1979 1985 bufferName = isPressed ? `${name}_active` : `${name}_normal`; 1980 - if (name === "crouch") { 1981 - console.log(`๐Ÿ’ crouch button: isPressed=${isPressed}, bufferName=${bufferName}, shift=${keyboardState.shift}`); 1982 - } 1983 1986 } 1984 1987 1985 1988 const buffer = buttonBuffers[bufferName];