Skip to content

Commit

Permalink
PartModule fields must be public
Browse files Browse the repository at this point in the history
Because of root part copying bullshit - KSP copies fields over but only considers public fields that are not readonly
  • Loading branch information
blowfishpro committed Mar 7, 2020
1 parent a730ecc commit 04ea49a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SimpleAdjustableFairings/ModuleSimpleAdjustableFairing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ public class ModuleSimpleAdjustableFairing : PartModule, IScalarModule, IPartCoM
public float scale = 1f;

[Persistent(name = "WALL_BASE")]
private readonly ModelData wallBaseData = null;
public ModelData wallBaseData = null;

[Persistent(name = "WALL")]
private readonly ModelData wallData = null;
public ModelData wallData = null;

[Persistent(name = "CONE")]
private readonly ModelData coneData = null;
public ModelData coneData = null;

[Persistent(name = "CAP")]
private readonly ModelData capData = null;
public ModelData capData = null;

#endregion

Expand Down

0 comments on commit 04ea49a

Please sign in to comment.