From 816e1e7351972a03763bafe8027615f550b46849 Mon Sep 17 00:00:00 2001 From: EoF-1141 <61620805+EoF-1141@users.noreply.github.com> Date: Sat, 17 Apr 2021 00:53:47 +0200 Subject: [PATCH] Delete FreePlayFix.cs --- FreePlayFix.cs | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 FreePlayFix.cs diff --git a/FreePlayFix.cs b/FreePlayFix.cs deleted file mode 100644 index 816f762..0000000 --- a/FreePlayFix.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Linq; -using HarmonyLib; -using UnityEngine; - -namespace TheOtherRoles { - [HarmonyPatch] - public static class FreePlayFix { - public static bool isInFreePlay = false; - - [HarmonyPatch(typeof(ShipStatus), nameof(ShipStatus.Begin))] - public static class ShipStatusBeginPatch { - public static void Prefix(ShipStatus __instance) { - System.Console.WriteLine("Begin"); - isInFreePlay = UnityEngine.Object.FindObjectsOfType().ToList() - .Find(console => console.name == "TaskAddConsole"); - } - } - } -} \ No newline at end of file -- 2.39.5