namespace Harmony.AIDirectorAirDropComponentPatches { [HarmonyPatch(typeof(AIDirectorAirDropComponent))] [HarmonyPatch("SpawnAirDrop")] public class SpawnAirDropPatch { public static bool Prefix(AIDirectorAirDropComponent __instance, ref bool __result) { if (RebirthVariables.skipSupplyDrops) { __result = false; return false; } return true; } } }