Skip to content

Commit 04ea49a

Browse files
committed
PartModule fields must be public
Because of root part copying bullshit - KSP copies fields over but only considers public fields that are not readonly
1 parent a730ecc commit 04ea49a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SimpleAdjustableFairings/ModuleSimpleAdjustableFairing.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ public class ModuleSimpleAdjustableFairing : PartModule, IScalarModule, IPartCoM
4949
public float scale = 1f;
5050

5151
[Persistent(name = "WALL_BASE")]
52-
private readonly ModelData wallBaseData = null;
52+
public ModelData wallBaseData = null;
5353

5454
[Persistent(name = "WALL")]
55-
private readonly ModelData wallData = null;
55+
public ModelData wallData = null;
5656

5757
[Persistent(name = "CONE")]
58-
private readonly ModelData coneData = null;
58+
public ModelData coneData = null;
5959

6060
[Persistent(name = "CAP")]
61-
private readonly ModelData capData = null;
61+
public ModelData capData = null;
6262

6363
#endregion
6464

0 commit comments

Comments
 (0)