From b42a916f772c484624296367ecb799c9c61d0bef Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:14:50 +0200 Subject: [PATCH] Cleanup --- Fika.Core/Coop/ClientClasses/CoopSharedQuestController.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Fika.Core/Coop/ClientClasses/CoopSharedQuestController.cs b/Fika.Core/Coop/ClientClasses/CoopSharedQuestController.cs index 9cc00266..f78a0fc3 100644 --- a/Fika.Core/Coop/ClientClasses/CoopSharedQuestController.cs +++ b/Fika.Core/Coop/ClientClasses/CoopSharedQuestController.cs @@ -1,9 +1,7 @@ using EFT; using EFT.Quests; -using EFT.UI; using Fika.Core.Coop.Players; using Fika.Core.Networking.Packets; -using System; using System.Collections.Generic; namespace Fika.Core.Coop.ClientClasses @@ -30,7 +28,7 @@ public void AddNetworkId(string id) if (!lastFromNetwork.Contains(id)) { lastFromNetwork.Add(id); - } + } } private void SendQuestPacket(IConditionCounter conditional, string conditionId) @@ -41,7 +39,7 @@ private void SendQuestPacket(IConditionCounter conditional, string conditionId) if (counter != null) { QuestConditionPacket packet = new(player.Profile.Info.MainProfileNickname, counter.Id, counter.SourceId); - player.PacketSender.SendQuestPacket(ref packet); + player.PacketSender.SendQuestPacket(ref packet); } } }