From a751ac8f3cd9804f9a248e55fa1a7cefbbce5875 Mon Sep 17 00:00:00 2001 From: VALERA771 Date: Tue, 2 Apr 2024 16:15:28 +0300 Subject: [PATCH] final fix --- .../Patches/Events/Map/ElevatorMovingAndArrived.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Exiled.Events/Patches/Events/Map/ElevatorMovingAndArrived.cs b/Exiled.Events/Patches/Events/Map/ElevatorMovingAndArrived.cs index 2f5fb1f3a1..cc00b1ad8b 100644 --- a/Exiled.Events/Patches/Events/Map/ElevatorMovingAndArrived.cs +++ b/Exiled.Events/Patches/Events/Map/ElevatorMovingAndArrived.cs @@ -35,7 +35,7 @@ private static IEnumerable Transpiler(IEnumerable x.Calls(PropertyGetter(typeof(NetworkServer), nameof(NetworkServer.active)))); - Label returnLabel = generator.DefineLabel(); + Label continueLabel = generator.DefineLabel(); newInstructions.InsertRange( index, @@ -56,9 +56,14 @@ private static IEnumerable Transpiler(IEnumerable Transpiler(IEnumerable