immcrab/Lasting-Utilla
Ownership not verified 1
Viewing main at commit a6a25ac430“Add files via upload”· 11 months ago
22 lines · 698 BRaw on GitHub
// Decompiled with JetBrains decompiler
// Type: Utilla.Patches.SetGameModePatch
// Assembly: Utilla, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: FDD08D98-E155-49FA-85BC-1930928C3BAA
// Assembly location: C:\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\BepInEx\plugins\Utilla\Utilla.dll
using GorillaNetworking;
using HarmonyLib;
#nullable disable
namespace Utilla.Patches;
[HarmonyPatch(typeof (GorillaComputer), "SetGameModeWithoutButton")]
internal static class SetGameModePatch
{
public static bool PreventSettingMode;
[HarmonyPrefix]
[HarmonyPriority(800)]
public static bool Prefix() => !SetGameModePatch.PreventSettingMode;
}
Code is shown from GitHub as-is. Linking a repository doesn’t prove that a release file on Canopy was built from it.