Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: Fixed MicroHID Dynamic Spawn Points and Lcz Reverse Door Fix #370

Merged
merged 2 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions EXILED/Exiled.API/Enums/SpawnLocationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,19 @@ public enum SpawnLocationType
InsideHczArmory,

/// <summary>
/// Inside the Micro-HID room.
/// Inside the chamber that contains the Micro-HID in Micro-HID room.
/// </summary>
InsideHid,
InsideHidChamber,

/// <summary>
/// Just inside the left door next to Micro-HID room.
/// Inside the lower door that leads to the stairs in Micro-HID room.
/// </summary>
InsideHidLeft,
InsideHidLower,

/// <summary>
/// Just inside the right door next to Micro-HID room.
/// Inside the upper door that leads into the Micro-HID room just after the stairs.
/// </summary>
InsideHidRight,
InsideHidUpper,

/// <summary>
/// Just inside the LCZ WC door.
Expand Down
11 changes: 5 additions & 6 deletions EXILED/Exiled.API/Extensions/SpawnExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,15 @@ public static class SpawnExtensions
{
SpawnLocationType.InsideHczArmory,
SpawnLocationType.Inside079First,
SpawnLocationType.InsideHidRight,
SpawnLocationType.InsideHidUpper,
SpawnLocationType.Inside173Gate,
SpawnLocationType.InsideHidLeft,
SpawnLocationType.InsideGateA,
SpawnLocationType.InsideGateB,
SpawnLocationType.InsideLczWc,
SpawnLocationType.InsideGr18,
SpawnLocationType.Inside914,
SpawnLocationType.InsideHid,
SpawnLocationType.Inside049Armory,
SpawnLocationType.InsideLczCafe,
};

/// <summary>
Expand Down Expand Up @@ -81,16 +80,16 @@ public static Vector3 GetPosition(this SpawnLocationType location)
SpawnLocationType.Inside330 => "330",
SpawnLocationType.Inside096 => "096",
SpawnLocationType.Inside914 => "914",
SpawnLocationType.InsideHid => "HID",
SpawnLocationType.InsideHidChamber => "HID_CHAMBER",
SpawnLocationType.InsideGr18 => "GR18",
SpawnLocationType.InsideGateA => "GATE_A",
SpawnLocationType.InsideGateB => "GATE_B",
SpawnLocationType.InsideLczWc => "LCZ_WC",
SpawnLocationType.InsideHidLeft => "HID_LEFT",
SpawnLocationType.InsideHidLower => "HID_LOWER",
SpawnLocationType.InsideLczCafe => "LCZ_CAFE",
SpawnLocationType.Inside173Gate => "173_GATE",
SpawnLocationType.InsideIntercom => "INTERCOM",
SpawnLocationType.InsideHidRight => "HID_RIGHT",
SpawnLocationType.InsideHidUpper => "HID_UPPER",
SpawnLocationType.Inside079First => "079_FIRST",
SpawnLocationType.Inside330Chamber => "330_CHAMBER",
SpawnLocationType.Inside049Armory => "049_ARMORY",
Expand Down
Loading