Conversation
There was a problem hiding this comment.
Pull request overview
This PR aims to correct a typo in the public DoorName enum (Hcz106Primiary → Hcz106Primary) to match the intended door tag naming.
Changes:
- Renames the
DoorNameenum member for the HCZ 106 primary door fromHcz106PrimiarytoHcz106Primary.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -33,7 +33,7 @@ public enum DoorName | |||
| HczHidUpper, // HID_UPPER | |||
| HczHidLower, // HID_LOWER | |||
| HczNukeArmory, // NUKE_ARMORY | |||
There was a problem hiding this comment.
Renaming this enum member will break existing references. The codebase still refers to DoorName.Hcz106Primiary (e.g., LabApi/Features/Wrappers/Facility/Doors/Door.cs maps "106_PRIMARY" to that value), so this change will currently fail to compile unless those references are updated. If this enum is part of the public API, consider keeping the old misspelled member as an [Obsolete] alias assigned to the same underlying value to avoid a breaking change for downstream consumers.
| HczNukeArmory, // NUKE_ARMORY | |
| HczNukeArmory, // NUKE_ARMORY | |
| [System.Obsolete("Use Hcz106Primary instead.")] | |
| Hcz106Primiary = Hcz106Primary, |
There was a problem hiding this comment.
Why is there dumbass copilot
small change to the
DoorNameenum correcting a typo.Hcz106Primiary --> Hcz106Primary