fix: two-player lobby deadlock

This commit is contained in:
2026-08-30 23:42:26 +03:00
parent d5eb26d330
commit 93af738e36
9 changed files with 77 additions and 10 deletions
+2 -1
View File
@@ -240,7 +240,8 @@ components:
description: Opaque, reboot-scoped session token.
Role:
type: string
enum: [player1, player2, spectator]
enum: [player1, player2, spectator, player]
description: '`player` atomically assigns the first available player slot; responses always contain player1 or player2.'
Mode:
type: string
enum: [human, bot]