Table of Contents

Class TryRaycastRoomFix

Namespace
Exiled.Events.Patches.Fixes
Assembly
Exiled.Events.dll

Patches MapGeneration.RoomUtils.TryRaycastRoom(UnityEngine.Vector3, UnityEngine.Vector3, out MapGeneration.RoomIdentifier) to fix the method accidentally returning true and leaving when hitting a IRoomObject with a null original room.

[HarmonyPatch(typeof(RoomUtils), "TryRaycastRoom")]
public class TryRaycastRoomFix
Inheritance
TryRaycastRoomFix
Inherited Members
Extension Methods

Remarks

Most of the logic comes from https://github.com/KadavasKingdom/SLFixes so shoutout to SlejmUr.