Skip to content

Commit

Permalink
fix!: Fixed MicroHID Dynamic Spawn Points and Lcz Reverse Door Fix (#370
Browse files Browse the repository at this point in the history
)

Actually did the thing involving me not being stupid

Co-authored-by: Snivy Films <[email protected]>
  • Loading branch information
SnivyFilms and Snivy Films authored Jan 4, 2025
1 parent 4876861 commit 654a687
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
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

0 comments on commit 654a687

Please sign in to comment.