From: EoF-1141 <61620805+EoF-1141@users.noreply.github.com> Date: Sat, 17 Apr 2021 12:08:37 +0000 (+0200) Subject: Delete FreePlayFix.cs X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=91905a62063c198109607ba64cfc1c0cef278a3c;p=rhonda%2Ftheotherroles.git Delete FreePlayFix.cs --- diff --git a/Source Code/FreePlayFix.cs b/Source Code/FreePlayFix.cs deleted file mode 100644 index 816f762..0000000 --- a/Source Code/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