From 91905a62063c198109607ba64cfc1c0cef278a3c Mon Sep 17 00:00:00 2001 From: EoF-1141 <61620805+EoF-1141@users.noreply.github.com> Date: Sat, 17 Apr 2021 14:08:37 +0200 Subject: [PATCH] Delete FreePlayFix.cs --- Source Code/FreePlayFix.cs | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 Source Code/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 -- 2.39.5