Voting bugfixes

This commit is contained in:
Regalis
2016-02-12 23:41:28 +02:00
parent c6f52cc68f
commit 1506738ff7
9 changed files with 41 additions and 12 deletions
+1 -1
View File
@@ -222,8 +222,8 @@ namespace Barotrauma
msg.Write(AllowEndVoting);
if (AllowEndVoting)
{
msg.Write((byte)voters.Count);
msg.Write((byte)voters.Count(v => v.GetVote<bool>(VoteType.EndRound)));
msg.Write((byte)voters.Count);
}
}