Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jun 13, 2024
1 parent 8ebb53c commit b42a916
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Fika.Core/Coop/ClientClasses/CoopSharedQuestController.cs
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -30,7 +28,7 @@ public void AddNetworkId(string id)
if (!lastFromNetwork.Contains(id))
{
lastFromNetwork.Add(id);
}
}
}

private void SendQuestPacket(IConditionCounter conditional, string conditionId)
Expand All @@ -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);
}
}
}
Expand Down

0 comments on commit b42a916

Please sign in to comment.