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

The round doesn't end when the last CT player leaves. #140

Open
NikolaJyun opened this issue Aug 14, 2024 · 4 comments
Open

The round doesn't end when the last CT player leaves. #140

NikolaJyun opened this issue Aug 14, 2024 · 4 comments

Comments

@NikolaJyun
Copy link

during a match, if the last CT player leaves or moves to spectator, the round doesn't end immediately but waits for the C4 to explode before ending.

@B3none
Copy link
Owner

B3none commented Aug 27, 2024

I checked the code, and this should be happening. When a player disconnects this code is run:
https://github.com/B3none/cs2-retakes/blob/master/RetakesPlugin/Modules/Helpers.cs#L205

@NikolaJyun
Copy link
Author

@B3none I'll pay more attention while playing because I remember a few instances where the round didn't end immediately. Maybe it's because AFK Manager moved the AFK players to spectator mode, which didn't trigger the condition.

@B3none
Copy link
Owner

B3none commented Aug 27, 2024

Trying to get this plugin to play nice with the AFK manager is an up hill battle unfortunately

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

No branches or pull requests

2 participants