fix(session): reset lobby when player leaves finished match
This commit is contained in:
+2
-1
@@ -40,7 +40,8 @@ is only echoed for correlation; it grants no authority.
|
||||
players must be connected. Sessions are preserved while a new authoritative
|
||||
maze and game state are created.
|
||||
- `leave`: `{}`. Revokes only the authenticated sending session. A player
|
||||
leaving an unfinished match cancels it for all participants; observer and
|
||||
leaving any non-waiting match phase, including a finished result, cancels
|
||||
that match and returns remaining sessions to the waiting lobby; observer and
|
||||
waiting-lobby departures release only that session.
|
||||
- `heartbeat`: `{}` after a session has been joined or restored.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user