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

Players dying during GAME_PREPARING causes problems #14

Open
Maxi605 opened this issue Jun 30, 2018 · 2 comments
Open

Players dying during GAME_PREPARING causes problems #14

Maxi605 opened this issue Jun 30, 2018 · 2 comments

Comments

@Maxi605
Copy link

Maxi605 commented Jun 30, 2018

There's a bug when somebody dies before the round starts they can be Traitor or Detective, if there's only people for 1 traitor to be alive and whoever died gets to be that traitor then the round is bugged without a traitor

@GuskiS
Copy link
Owner

GuskiS commented Aug 4, 2018

There are 2 ways how to fix this:

  1. Remove damage while gamemode is GAME_PREPARATION.
  2. Add alive check to get_players within core.

1st is simplest one.
2nd requires quite a bit of work and testing and rethink for all the edge cases.

@GuskiS GuskiS changed the title No Traitor Round Players dieing during GAME_PREPARING causes problems Aug 4, 2018
@Maxi605
Copy link
Author

Maxi605 commented Aug 4, 2018

I think the second is the best way to do it, becouse removing damage doesn't block kill command or slay, there's others plugins to kill the player.

@Maxi605 Maxi605 changed the title Players dieing during GAME_PREPARING causes problems Players dying during GAME_PREPARING causes problems Jun 27, 2021
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