diff --git a/1.6/1.6/Assemblies/ArachnaeSwarm.dll b/1.6/1.6/Assemblies/ArachnaeSwarm.dll index 5bf14c4..6a67b5e 100644 Binary files a/1.6/1.6/Assemblies/ArachnaeSwarm.dll and b/1.6/1.6/Assemblies/ArachnaeSwarm.dll differ diff --git a/1.6/1.6/Assemblies/ArachnaeSwarm.pdb b/1.6/1.6/Assemblies/ArachnaeSwarm.pdb index a6a7fa4..d83e0e4 100644 Binary files a/1.6/1.6/Assemblies/ArachnaeSwarm.pdb and b/1.6/1.6/Assemblies/ArachnaeSwarm.pdb differ diff --git a/Source/ArachnaeSwarm/Pawn_Comps/ARA_Flight/Pawn_FlightTrackerPatches.cs b/Source/ArachnaeSwarm/Pawn_Comps/ARA_Flight/Pawn_FlightTrackerPatches.cs index 546f873..95ea492 100644 --- a/Source/ArachnaeSwarm/Pawn_Comps/ARA_Flight/Pawn_FlightTrackerPatches.cs +++ b/Source/ArachnaeSwarm/Pawn_Comps/ARA_Flight/Pawn_FlightTrackerPatches.cs @@ -78,11 +78,16 @@ namespace ArachnaeSwarm shouldBeFlying = true; } - if (shouldBeFlying && !__instance.Flying) + if (shouldBeFlying) { - __instance.StartFlying(); + if (!__instance.Flying) __instance.StartFlying(); + job.flying = true; + } + else + { + if (__instance.Flying) __instance.ForceLand(); + job.flying = false; } - job.flying = shouldBeFlying; return false; }