The murderer is selected twice in one row
prepper25 opened this issue · 1 comments
The murderer is selected twice playing two games, in one row even getting a punishment of 5 rounds (default cvar), this issue could be related with the crashes usually when the server restart the same player as murderer is selected again.
I think having another variable that forces the player to not be selected twice in a row would be a good solution, especially in rounds with less than 5 players, players being selected twice is more prevalent.
As for abrupt server crashes when everyone crashes, storing player names into two strings (ex. oldName, newName) for each player ID could help reference players even after they've disconnected. If a player rejoins and their name matches with any old name, transfer the blacklist information from that ID to the new ID.