From 16ed549de4e8b7269faafb41baa6635ab074c540 Mon Sep 17 00:00:00 2001 From: Ape <155788660+ApeMV@users.noreply.github.com> Date: Fri, 27 Mar 2026 20:06:29 +0100 Subject: [PATCH] Update ExilePatch.cs --- Patches/ExilePatch.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Patches/ExilePatch.cs b/Patches/ExilePatch.cs index 8fca915..1d7f626 100644 --- a/Patches/ExilePatch.cs +++ b/Patches/ExilePatch.cs @@ -65,8 +65,18 @@ class ExileControllerWrapUpPatch } } +#if ANDROID + [HarmonyPatch(typeof(AirshipExileController), nameof(AirshipExileController.WrapUpAndSpawn))] + class AirshipExileControllerPatchAndroid + { + public static void Postfix(AirshipExileController __instance) + { + ExileControllerPatch.AfterExile(__instance.initData.networkedPlayer); + } + } +#else [HarmonyPatch(typeof(AirshipExileController._WrapUpAndSpawn_d__11), nameof(AirshipExileController._WrapUpAndSpawn_d__11.MoveNext))] - class AirshipExileControllerPatch + class AirshipExileControllerPatchPC { public static void Postfix(AirshipExileController._WrapUpAndSpawn_d__11 __instance, ref bool __result) { @@ -74,4 +84,5 @@ class ExileControllerWrapUpPatch ExileControllerPatch.AfterExile(instance.initData.networkedPlayer); } } +#endif } \ No newline at end of file