Skip to content

Commit

Permalink
KJRMultiJointManager is no longer a singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
siimav committed Mar 18, 2024
1 parent 29558b0 commit 664a215
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ namespace KerbalJointReinforcement
//If the joint from A to B or B to C is broken, this will destroy the joint A to C and then destroy itself
class KJRMultiJointManager
{
public static KJRMultiJointManager fetch;

internal Dictionary<Part, List<ConfigurableJoint>> multiJointDict;
private List<Part> linkPart1List;
private List<Part> linkPart2List;
Expand All @@ -40,7 +38,6 @@ public KJRMultiJointManager()
linkPart1List = new List<Part>();
linkPart2List = new List<Part>();
linkedSet = new HashSet<Part>();
fetch = this;
GameEvents.onVesselCreate.Add(VesselCreate);
GameEvents.onPartUndock.Add(OnJointBreak);
GameEvents.onPartDie.Add(OnJointBreak);
Expand Down

0 comments on commit 664a215

Please sign in to comment.