Skip to content

Auto-update turn order when players join/leave campaign #19

Description

@barrulus

Turn order is a snapshot taken when the session is started/activated. If a player joins the campaign after the session has started, they are not added to the turn order and their chat messages are never intercepted by the DM action system.

Current behavior

  • buildTurnOrder queries active campaign_players but is only called at session init or phase transition
  • New players who join mid-session are invisible to the game state
  • Had to manually patch the game_state JSON to add a new player

Expected behavior

  • When a player is approved/added to a campaign with an active session, the turn order should be updated automatically
  • Similarly, if a player leaves or is removed, they should be dropped from the turn order

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions