diff --git a/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs
index 8b380e7389..32216ba9e0 100644
--- a/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs
+++ b/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs
@@ -22,13 +22,17 @@ public class UsingBreakneckSpeedsEventArgs : IScp173Event, IDeniableEvent
///
///
///
+ ///
+ ///
+ ///
///
///
///
- public UsingBreakneckSpeedsEventArgs(Player player, bool isAllowed = true)
+ public UsingBreakneckSpeedsEventArgs(Player player, bool isActivationRequested, bool isAllowed = true)
{
Player = player;
Scp173 = player.Role.As();
+ IsActivationRequested = isActivationRequested;
IsAllowed = isAllowed;
}
@@ -37,6 +41,11 @@ public UsingBreakneckSpeedsEventArgs(Player player, bool isAllowed = true)
///
public bool IsAllowed { get; set; }
+ ///
+ /// Gets a value indicating whether the player is attempting to activate breakneck speeds.
+ ///
+ public bool IsActivationRequested { get; }
+
///
/// Gets the player who's using breakneck speeds.
///
@@ -45,4 +54,4 @@ public UsingBreakneckSpeedsEventArgs(Player player, bool isAllowed = true)
///
public Scp173Role Scp173 { get; }
}
-}
\ No newline at end of file
+}
diff --git a/EXILED/Exiled.Events/Patches/Events/Scp173/UsingBreakneckSpeeds.cs b/EXILED/Exiled.Events/Patches/Events/Scp173/UsingBreakneckSpeeds.cs
index 02b65358d4..8e3c718ce4 100644
--- a/EXILED/Exiled.Events/Patches/Events/Scp173/UsingBreakneckSpeeds.cs
+++ b/EXILED/Exiled.Events/Patches/Events/Scp173/UsingBreakneckSpeeds.cs
@@ -54,6 +54,9 @@ private static IEnumerable Transpiler(IEnumerable), nameof(StandardSubroutine.Owner))),
new(OpCodes.Call, Method(typeof(Player), nameof(Player.Get), new[] { typeof(ReferenceHub) })),
+ // value to be set (will the ability turn on or off)
+ new(OpCodes.Ldarg_1),
+
// this.Cooldown.Remaining == 0
new(OpCodes.Ldarg_0),
new(OpCodes.Ldfld, Field(typeof(Scp173BreakneckSpeedsAbility), nameof(Scp173BreakneckSpeedsAbility.Cooldown))),
@@ -61,7 +64,7 @@ private static IEnumerable Transpiler(IEnumerable Transpiler(IEnumerable.Pool.Return(newInstructions);
}
}
-}
\ No newline at end of file
+}