Decompiled source of SuperhotNoTime v1.0.1

Mods/SuperhotNoTime.dll

Decompiled a day ago
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using HarmonyLib;
using MelonLoader;
using SuperhotNoTime;
using UnityEngine;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: AssemblyTitle("SuperhotNoTime")]
[assembly: AssemblyDescription("Mod which disables the time slow mechanic.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SuperhotNoTime")]
[assembly: AssemblyCopyright("Copyright © 2026")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("9eb5e0b5-f286-4256-8d88-039d075ded46")]
[assembly: AssemblyFileVersion("1.0.1.0")]
[assembly: MelonInfo(typeof(MainClass), "Superhot No Time", "1.0.1", "Gasterbuzzer", "https://github.com/Gasterbuzzer/SuperhotNoTime/releases/")]
[assembly: MelonGame("SUPERHOT_Team", "SUPERHOT")]
[assembly: MelonAuthorColor(255, 255, 0, 255)]
[assembly: MelonPriority(99)]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyVersion("1.0.1.0")]
namespace SuperhotNoTime;

public class MainClass : MelonMod
{
}
[HarmonyPatch(typeof(TimeControl), "LateUpdate")]
public static class PatchTimeConstant
{
	private static void Postfix()
	{
		Time.timeScale = 0.6f;
	}
}