Tigran 4 anni fa
parent
commit
9511616794
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      MafiaTelegramBot/Game/GameRoles/MafiaRole.cs

+ 1 - 1
MafiaTelegramBot/Game/GameRoles/MafiaRole.cs

@@ -32,7 +32,7 @@ namespace MafiaTelegramBot.Game.GameRoles
         public override async Task<Message> SetNightTarget(long userId)
         {
             NightTargetId = userId;
-            return await Bot.SendWithMarkdown2(Player.ChatId, $"{strings.you_choose_target} {Room.Players[userId].NickName}");
+            return await Bot.Get().EditMessageTextAsync(Player.ChatId, MessageId, $"{strings.you_choose_target} {Room.Players[userId].NickName}");
         }
 
         public MafiaRole(GameRoom room, Player player) : base(room, player) { }