Skip to content

Commit

Permalink
And sadly we can't use new() either
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 8afb1ee commit abb138a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MechJeb2/VesselExtensions.cs
Expand Up @@ -82,7 +82,7 @@ public static List<ITargetable> GetTargetables(this Vessel vessel)
}

private static float lastFixedTime;
private static readonly Dictionary<Guid, MechJebCore> masterMechJeb = new();
private static readonly Dictionary<Guid, MechJebCore> masterMechJeb = new Dictionary<Guid, MechJebCore>();

public static MechJebCore GetMasterMechJeb(this Vessel vessel)
{
Expand Down

0 comments on commit abb138a

Please sign in to comment.