whoops i write bad code

This commit is contained in:
LadyEbony 2020-08-21 23:07:08 -07:00
parent dad44ef0cf
commit 586098b3cf
3 changed files with 4 additions and 6 deletions

View file

@ -186,11 +186,8 @@ public static class PlayerProperties {
if (players.Count < 2) return false;
var hashset = new HashSet<int>();
foreach(var p in players){
var pid = playerCharacter.Get(p);
if (pid == -1) return false;
if (!hashset.Add(pid)) return false;
if (!lobbyStatus.Get(p)) return false;
}
return true;
}