From db850885f62ab320abc9de6d1cab541e4e46ea9a Mon Sep 17 00:00:00 2001 From: b3ni15 Date: Mon, 15 Dec 2025 09:30:25 +0100 Subject: [PATCH] fix: Correct packetId reference in BuildingRemovePacket to use the appropriate Enums --- Packets/Game/GameBuilding/BuildingRemovePacket.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Packets/Game/GameBuilding/BuildingRemovePacket.cs b/Packets/Game/GameBuilding/BuildingRemovePacket.cs index 388032e..6330f65 100644 --- a/Packets/Game/GameBuilding/BuildingRemovePacket.cs +++ b/Packets/Game/GameBuilding/BuildingRemovePacket.cs @@ -1,12 +1,13 @@ using System; using System.Reflection; using UnityEngine; +using KCM.Enums; namespace KCM.Packets.Game.GameBuilding { public class BuildingRemovePacket : Packet { - public override ushort packetId => (ushort)Enums.Packets.BuildingRemove; + public override ushort packetId => (ushort)Packets.BuildingRemove; // Flag to prevent infinite loop when removing buildings from packet public static bool isProcessingPacket = false;