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

Can't rejoin game when voted to spec while paused #1193

Closed
12pm opened this issue Jul 8, 2018 · 2 comments
Closed

Can't rejoin game when voted to spec while paused #1193

12pm opened this issue Jul 8, 2018 · 2 comments

Comments

@12pm
Copy link
Contributor

@12pm 12pm commented Jul 8, 2018

Error message: *** Use /pause first then you can kill

@def-
Copy link
Member

@def- def- commented Jul 8, 2018

Not sure if intentional or bug.

bors bot added a commit that referenced this issue Jul 10, 2018
Merge #1195
1195: Fix votespec on /pause (Fixes #1193) r=heinrich5991 a=ChillerDragon

I also thought about using a `` if (str_find(m_aVoteCommand, "set_team"))`` in front of the pause reset.
But then i thought its ok to unpause the VoteVictim every time.

I didn't test but i could belive that this can cause some unwanted unpause for a player with the id of the last VoteVictim on a server type vote for example. Thats why i also reset the ``m_VoteVictim`` to -1 to avoid this.

Co-authored-by: ChillerDragon <chillerdragon@gmail.com>
@bors bors bot closed this in e9807fe Jul 10, 2018
@ChillerDragon
Copy link
Contributor

@ChillerDragon ChillerDragon commented Jul 10, 2018

@def- defnetly a bug. Why should a tee be stuck forever if he was moved to spec during /pause ?

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

Successfully merging a pull request may close this issue.

None yet
3 participants