public static void Postfix(Deployable __instance) { if (__instance.IsDeployed && !__instance.PackedStateItemPrefab) { Instance.AddDestroyInteraction(__instance); } }
public static void Postfix(Deployable __instance) { var self = __instance; if (self.IsDeployed && self.PackedStateItemPrefab == null) { Instance.AddDestroyInteraction(self); } }