Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jun 14, 2024
1 parent 2a33dc6 commit a5ee9cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Fika.Core/Coop/PacketHandlers/PacketReceiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ protected void Update()
{
for (int i = 0; i < healthPackets; i++)
{
player.HandleDamagePacket(DamagePackets.Dequeue());
DamagePacket packet = DamagePackets.Dequeue();
player.HandleDamagePacket(ref packet);
}
}
int inventoryPackets = InventoryPackets.Count;
Expand Down

0 comments on commit a5ee9cd

Please sign in to comment.