fix(session): reset lobby when player leaves finished match
This commit is contained in:
@@ -195,6 +195,11 @@ stateDiagram-v2
|
||||
During `Paused`, movement commands are rejected and move-counted effects do not
|
||||
advance. During `FinishPending`, the first exit is retained while the server
|
||||
waits long enough to determine whether the second exit creates a draw.
|
||||
An authenticated explicit player leave from any non-waiting phase, including
|
||||
`Finished`, stops the current lifecycle and returns remaining sessions to the
|
||||
waiting lobby. This is distinct from an unexpected disconnect, which preserves
|
||||
the player's reconnect reservation for 60 seconds; observer leave and player
|
||||
leave from `Lobby` revoke only the departing session.
|
||||
|
||||
## 6. Authoritative command processing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user