Server ignores kick votes if the client has already voted to kick the same player. Closes #615
This commit is contained in:
@@ -211,6 +211,11 @@ namespace Barotrauma.Networking
|
||||
{
|
||||
kickVoters.Remove(voter);
|
||||
}
|
||||
|
||||
public bool HasKickVoteFrom(Client voter)
|
||||
{
|
||||
return kickVoters.Contains(voter);
|
||||
}
|
||||
|
||||
public bool HasKickVoteFromID(int id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user