Decompiled source of NoDoubleTapSprint v1.0.1

Mods/NoDoubleTapSprint.dll

Decompiled 2 days ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BoneLib;
using Il2CppSLZ.Marrow;
using MelonLoader;
using NoDoubleTapSprint;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(global::NoDoubleTapSprint.NoDoubleTapSprint), "NoDoubleTapSprint", "1.0.1", "KadenZombie8", null)]
[assembly: MelonGame("Stress Level Zero", "BONELAB")]
[assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
[assembly: AssemblyCompany("NoDoubleTapSprint")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("NoDoubleTapSprint")]
[assembly: AssemblyTitle("NoDoubleTapSprint")]
[assembly: AssemblyVersion("1.0.0.0")]
namespace NoDoubleTapSprint;

public class NoDoubleTapSprint : MelonMod
{
	public override void OnUpdate()
	{
		OpenControllerRig controllerRig = Player.ControllerRig;
		if (Object.op_Implicit((Object)(object)controllerRig) && controllerRig._wasOverFlickThresh)
		{
			controllerRig._wasOverFlickThresh = false;
		}
	}
}