Skip to content

Fix - Queue bots in Tourney#90

Merged
alcachofass merged 1 commit into
alcachofass:mainfrom
br33zy59:main
May 18, 2026
Merged

Fix - Queue bots in Tourney#90
alcachofass merged 1 commit into
alcachofass:mainfrom
br33zy59:main

Conversation

@br33zy59

Copy link
Copy Markdown
Contributor

Problem: Bots sit in the spectator list when gametype is changed to Tournament. They don't join the game unless you kick the current bot and allow a fresh one to connect.

Cause: When we introduced a second class of spectator, 'queued' to join the game, bots were still being assigned into the regular non-queued group of spectators. So they never join the game even when a slot opens up. there was no logic to ever promote them into the queue.

Solution: Assign them into the queued-to-play group when they join the game after map/gametype change.

When switching to Tourney gametype, bots already in-game were sitting in the non-queued spectator list, and never joining the game when a slot opened up. Bots will now be queued up instead.
@alcachofass alcachofass merged commit 187c3e6 into alcachofass:main May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants