Skip to content

Commit

Permalink
don’t like this, but it fixes the issues…
Browse files Browse the repository at this point in the history
  • Loading branch information
rsparkyc committed Jun 1, 2017
1 parent 9aa04fb commit a5e965c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Source/ProcAdapter.cs
Expand Up @@ -58,6 +58,7 @@ public virtual void checkTweakables()
public virtual void FixedUpdate()
{
checkTweakables();
changed = true;
if (changed)
updateShape();
justLoaded=false;
Expand Down Expand Up @@ -122,14 +123,15 @@ public override void OnStart(StartState state)
if (state==StartState.None) return;

changed=true;
}


public override void OnLoad(ConfigNode cfg)
}

public override void OnLoad(ConfigNode cfg)
{
base.OnLoad(cfg);
justLoaded=true;
changed = true;
}

}


Expand Down Expand Up @@ -424,8 +426,8 @@ public override void FixedUpdate()

if (isShipModified)
{
isShipModified = false;

isShipModified = false;
// remove engine fairing if there is any from topmost node
if (!engineFairingRemoved)
{
Expand Down Expand Up @@ -512,9 +514,6 @@ public override void FixedUpdate()
}
}




}
}
}
Expand Down

0 comments on commit a5e965c

Please sign in to comment.