fix: Correct packetId reference in BuildingRemovePacket to use the appropriate Enums
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user