diff --git a/packages/web/src/net.svelte.ts b/packages/web/src/net.svelte.ts index 2a72ca6..d8b278f 100644 --- a/packages/web/src/net.svelte.ts +++ b/packages/web/src/net.svelte.ts @@ -754,7 +754,8 @@ class Net { for (const key of voided) { if (this.voidedOnce.has(key)) doubted.add(key); } this.voidedOnce = voided; let kept = this.seats.filter((s) => !doubted.has(`${s.roomId}:${s.name}`)); - if (kept.length > 50) kept = kept.slice(kept.length - 50); + // Newest first (rememberSeat puts a seat at the front): the oldest go. + if (kept.length > 50) kept = kept.slice(0, 50); if (kept.length !== this.seats.length) { this.seats = kept; saveSeats(this.seats);