]> git.deb.at Git - rhonda/theotherroles.git/commitdiff
Delete FreePlayFix.cs
authorEoF-1141 <61620805+EoF-1141@users.noreply.github.com>
Fri, 16 Apr 2021 22:53:47 +0000 (00:53 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Apr 2021 22:53:47 +0000 (00:53 +0200)
FreePlayFix.cs [deleted file]

diff --git a/FreePlayFix.cs b/FreePlayFix.cs
deleted file mode 100644 (file)
index 816f762..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;\r
-using System.Linq;\r
-using HarmonyLib;\r
-using UnityEngine;\r
-\r
-namespace TheOtherRoles {\r
-    [HarmonyPatch]\r
-    public static class FreePlayFix {\r
-        public static bool isInFreePlay = false;\r
-\r
-        [HarmonyPatch(typeof(ShipStatus), nameof(ShipStatus.Begin))]\r
-        public static class ShipStatusBeginPatch { \r
-            public static void Prefix(ShipStatus __instance) {\r
-                System.Console.WriteLine("Begin");\r
-                isInFreePlay = UnityEngine.Object.FindObjectsOfType<SystemConsole>().ToList()\r
-                                .Find(console => console.name == "TaskAddConsole");\r
-            }   \r
-        }\r
-    }\r
-}
\ No newline at end of file