Update ExilePatch.cs

This commit is contained in:
Ape committed 2026-03-27 20:06:29 +01:00
1 parent bc2aa74046
commit 16ed549de4
1 file changed
+12 -1
+12 -1
View File
@@ -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
}