fix(mm): pro players also wait the 15s queue; compact post-match roster
CI/CD / CI - API (dotnet build + engine sim) (push) Successful in 4m45s
CI/CD / CI - Web (tsc + next build) (push) Successful in 1m10s
CI/CD / Deploy - local stack (db + server + web) (push) Successful in 1m33s

- server: remove pro instant-start so all players queue for up to 15s,
  giving real players a chance to seat together before bot-fill
- post-match: render the 4 seats as a horizontal strip so every player
  is visible at once without scrolling

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-16 21:31:18 +03:30
parent 60d44100a2
commit 6aa4f37642
2 changed files with 32 additions and 53 deletions
+3 -7
View File
@@ -54,13 +54,9 @@ public sealed partial class GameManager
return;
}
// Pro players skip the queue entirely.
if (p.Plan == "pro")
{
StartMatch(new List<Player> { p });
return;
}
// Everyone — including pro — waits in the queue so we always try to seat
// real players together first. The 15s timer (NextQueueWaitMs) then fills
// any empty seats with bots, and a full group of 4 forms instantly.
lock (_mmLock)
{
if (_waiting.Any(w => w.player.UserId == p.UserId)) return;