Skip to content

Commit

Permalink
Project cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jun 14, 2024
1 parent 6c7fa7a commit 263ca7f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Fika.Core/Coop/Players/CoopBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public override GClass1688 ApplyShot(DamageInfo damageInfo, EBodyPart bodyPartTy

if (list != null)
{
QueueArmorDamagePackets([.. list]);
QueueArmorDamagePackets([.. list]);
}

return hitInfo;
Expand Down
9 changes: 4 additions & 5 deletions Fika.Core/Coop/Players/CoopPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
using System.Threading.Tasks;
using UnityEngine;
using static Fika.Core.Networking.FikaSerialization;
using static UnityEngine.SendMouseEvents;

namespace Fika.Core.Coop.Players
{
Expand Down Expand Up @@ -886,7 +885,7 @@ protected virtual void Start()
FikaPlugin.Instance.FikaLogger.LogWarning("CoopPlayer::Start: Error removing dog tag!");
}
}

string templateId = GetDogTagTemplateId();

if (!string.IsNullOrEmpty(templateId))
Expand All @@ -904,7 +903,7 @@ protected virtual void Start()
else
{
FikaPlugin.Instance.FikaLogger.LogWarning("Unable to find DogTagComponent");
}
}
}
}

Expand Down Expand Up @@ -1335,7 +1334,7 @@ public void QueueArmorDamagePackets(ArmorComponent[] armorComponents)
{
ItemIds = ids,
Durabilities = durabilities,
});
});
}
}

Expand Down Expand Up @@ -1412,7 +1411,7 @@ public void HandleArmorDamagePacket(ref ArmorDamagePacket packet)
itemComponent.Repairable.Durability = packet.Durabilities[i];
itemComponent.Buff.TryDisableComponent(itemComponent.Repairable.Durability);
itemComponent.Item.RaiseRefreshEvent(false, false);
}
}
}
}

Expand Down
1 change: 0 additions & 1 deletion Fika.Core/Coop/Players/ObservedCoopPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using EFT.HealthSystem;
using EFT.Interactive;
using EFT.InventoryLogic;
using EFT.UI;
using EFT.Vaulting;
using Fika.Core.Coop.Custom;
using Fika.Core.Coop.Factories;
Expand Down

0 comments on commit 263ca7f

Please sign in to comment.