Skip to content

Commit bf8b4bc

Browse files
committed
set CrewCapacity to 0 if it's not specified (e.g. hecs2)
1 parent 65fd15c commit bf8b4bc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

GameData/ProbeControlRoom/Patches/ProbeControlRoom.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ PROBECONTROLROOM_CONFIG
132132
}
133133
}
134134
}
135+
136+
@PART:HAS[@MODULE[ModuleCommand]&!INTERNAL&~CrewCapacity]:FOR[ProbeControlRoom]
137+
{
138+
CrewCapacity = 0
139+
}
140+
135141
// Add the mission control INTERNAL to every probe that does not yet have an INTERNAL
136142
@PART:HAS[@MODULE[ModuleCommand]&!INTERNAL&#CrewCapacity[0]]:FOR[ProbeControlRoom]
137143
{

0 commit comments

Comments
 (0)