You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/RemoteTech/FlightComputer/FlightComputer.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -567,7 +567,8 @@ public void Load(ConfigNode configNode)
567
567
if(Vessel.packed)
568
568
{
569
569
RTLog.Notify("Save Flightconfig after unpacking");
570
-
_fcLoadedConfigs=configNode;
570
+
_fcLoadedConfigs=configNode.CreateCopy();
571
+
//Apparently, _fcLoadedConfigs (resided at memory pointer of configNode) is changed at 1 point before loading into FC. CreateCopy() duplicates the content to a separate memory space.
0 commit comments