Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team arena breaks in warmup #485

Open
kaadmy opened this issue Jun 4, 2017 · 2 comments
Open

Team arena breaks in warmup #485

kaadmy opened this issue Jun 4, 2017 · 2 comments

Comments

@kaadmy
Copy link
Collaborator

kaadmy commented Jun 4, 2017

Basically the title.
Every 10 seconds if there are enough players, the game will restart even in warmup and the red team always wins.

@jdolan
Copy link
Owner

jdolan commented Jul 20, 2017

CC @jar3817

@jdolan
Copy link
Owner

jdolan commented Feb 1, 2022

Yea, this code is gross. But there's something wrong happening in G_CheckRoundStart. Basically, some clients are being counted as on the red team when they are spectators:

image

You can see this client (it's actually a bot) has a classname of "spectator" yet they are also on team red. Not sure how this is happening, but I think this is the bug. Once both players actually join teams, the rounds work as expected -- altho I will say the user experience is pretty poor. The round ends instantly and unceremoniously when the last player is left standing, and all players are immediately thrown back into warmup. It'd be a lot better if there were an inter-round intermission that didn't disrupt everyone's view. There's no chance to reflect on the winning kill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants