public static bool Prefix(Corpse corpse, DeathActionWorker_BigExplosion __instance) { bool flag = XenomorphUtil.IsInfectedPawn(corpse.InnerPawn); if (flag) { return(false); } return(true); }
public static bool Pre_PawnDied_Facehugger(Corpse corpse, DeathActionWorker_BigExplosion __instance) { // Log.Message(string.Format("{0}", corpse.Label)); bool flag = XenomorphUtil.IsInfectedPawn(corpse.InnerPawn); if (flag) { return(false); } return(true); }