From 5b5c2bdf17b6f83f5e240f4281ebed5e2c5603f9 Mon Sep 17 00:00:00 2001 From: letheriver2007 <77842352+letheriver2007@users.noreply.github.com> Date: Thu, 7 Nov 2024 00:22:51 +0800 Subject: [PATCH] Fix bug in ```ChallengeInstance``` Really a amazing bug. i thought author copy the second method from the first one then forgot to change --- GameServer/Game/Challenge/ChallengeInstance.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GameServer/Game/Challenge/ChallengeInstance.cs b/GameServer/Game/Challenge/ChallengeInstance.cs index f210e96c..f8c243c6 100644 --- a/GameServer/Game/Challenge/ChallengeInstance.cs +++ b/GameServer/Game/Challenge/ChallengeInstance.cs @@ -201,7 +201,7 @@ public class ChallengeInstance { var avatar = Player.AvatarManager?.GetAvatar(lineupAvatar.BaseAvatarId); if (avatar == null) continue; - proto.BossInfo.FirstLineup.Add((uint)avatar.GetAvatarId()); + proto.BossInfo.SecondLineup.Add((uint)avatar.GetAvatarId()); var equip = Player.InventoryManager?.GetItem(0, avatar.GetCurPathInfo().EquipId, ItemMainTypeEnum.Equipment); if (equip != null) @@ -444,4 +444,4 @@ public class ChallengeInstance } #endregion -} \ No newline at end of file +}