Skip to content

Commit 0452e54

Browse files
committed
Fix #8: NREs on vessel switch
1 parent 134a455 commit 0452e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProbeControlRoom/ProbeControlRoom.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class ProbeControlRoom : MonoBehaviour
4040

4141
//Current PCR module
4242
private ProbeControlRoomPart aModule;
43-
private Part aPart => aModule.part;
43+
private Part aPart => aModule?.part;
4444

4545
//Storage for original game settings
4646
float shipVolumeBackup = GameSettings.SHIP_VOLUME;

0 commit comments

Comments
 (0)