|
@@ -189,7 +189,8 @@ namespace MafiaTelegramBot.Game.GameRooms
|
|
|
.Select(item => new {id = item.Key, count = item.Count()})
|
|
|
.ToList();
|
|
|
var hookerBlock = Players.Values.Any(p => p.CurrentRole.MafiaTargetId == -2);
|
|
|
- if (votes.Count == 0 && !hookerBlock) mafiaNotAgree = strings.mafia_not_kill_message;
|
|
|
+ if (hookerBlock) { }
|
|
|
+ else if (votes.Count == 0) mafiaNotAgree = strings.mafia_not_kill_message;
|
|
|
else {
|
|
|
var max = votes.Max(item => item.count);
|
|
|
var maxObjects = votes.Where(item => item.count == max).ToList();
|