Tigran há 4 anos atrás
pai
commit
f5600b3fbf
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      MafiaTelegramBot/Game/GameRooms/GameRoom.GameProcess.cs

+ 4 - 0
MafiaTelegramBot/Game/GameRooms/GameRoom.GameProcess.cs

@@ -266,6 +266,8 @@ namespace MafiaTelegramBot.Game.GameRooms
                     {
                         await DefencePhase(VoteUpList);
                         VoteUpList = await CalculateCandidates();
+                        VoteUpList.Clear();
+                        VoteKillList.Clear();
                         switch (VoteUpList.Count)
                         {
                             case 0:
@@ -277,6 +279,8 @@ namespace MafiaTelegramBot.Game.GameRooms
                             case > 1:
                                 await DefencePhase(VoteUpList);
                                 VoteUpList = await CalculateCandidates();
+                                VoteUpList.Clear();
+                                VoteKillList.Clear();
                                 switch (VoteUpList.Count)
                                 {
                                     case 0: