Skip to content

Spectating a game increases the games counter artificially on lichess.dev #21261

Description

@miguelmato

Exact URL of where the bug happened

lichess.dev and tv

Steps to reproduce the bug

Open more than 1 lichess.dev tabs, and start spectating a game (finalized one is ok) at /tv or click the featured game. Keep 1 tab on lobby to check the live player count and matches being played.

What did you expect to happen?

As no new games where created, I expect the "games in play" counter to not update as only the tabs we opened connected to games by other people, no new games where created.

What happened instead?

Each new tab that spectates a game increases the "games in play" counter by 1.

Operating system

MacOS Sequoia

Browser and version (or alternate access method)

Firefox 153

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions