Open Maxi605 opened 6 years ago
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.
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.
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