File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
RasterPropMonitor/Auxiliary modules Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,6 @@ public class JSIVariableLabel : InternalModule
5353 private Action < float > del ;
5454 private StringProcessorFormatter spf ;
5555 private RasterPropMonitorComputer rpmComp ;
56- /// <summary>
57- /// The Guid of the vessel we belonged to at Start. When undocking,
58- /// KSP will change the vessel member variable before calling OnDestroy,
59- /// which prevents us from getting the RPMVesselComputer we registered
60- /// with. So we have to store the Guid separately.
61- /// </summary>
62- private Guid registeredVessel = Guid . Empty ;
6356
6457 public void Start ( )
6558 {
@@ -100,7 +93,6 @@ public void Start()
10093 zeroColorValue = JUtil . ParseColor32 ( zeroColor , rpmComp ) ;
10194 del = ( Action < float > ) Delegate . CreateDelegate ( typeof ( Action < float > ) , this , "OnCallback" ) ;
10295 rpmComp . RegisterVariableCallback ( variableName , del ) ;
103- registeredVessel = vessel . id ;
10496
10597 // Initialize the text color. Actually, callback registration took care of that
10698 }
You can’t perform that action at this time.
0 commit comments