Skip to content

Commit

Permalink
Guess we can't do this bit of C#9
Browse files Browse the repository at this point in the history
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed Jul 1, 2023
1 parent c206ba6 commit 8afb1ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MechJeb2/VesselExtensions.cs
Expand Up @@ -11,8 +11,8 @@ public static class VesselExtensions
{
public static bool VesselOffGround(this Vessel vessel)
{
return vessel.situation is Vessel.Situations.FLYING or Vessel.Situations.ESCAPING
or Vessel.Situations.ORBITING or Vessel.Situations.SUB_ORBITAL;
return vessel.situation == Vessel.Situations.FLYING || vessel.situation == Vessel.Situations.ESCAPING ||
vessel.situation == Vessel.Situations.ORBITING || vessel.situation == Vessel.Situations.SUB_ORBITAL;
}

public static List<ITargetable> GetTargetables(this Vessel vessel)
Expand Down

0 comments on commit 8afb1ee

Please sign in to comment.