Skip to content

Commit 65fd15c

Browse files
committed
Fix #24: don't apply PCR patch to parts that have crew capacity
-Such parts will spawn the PCR internal because they have crew, which results in the civilian kerbals persisting in the pod and breaking lots of stuff
1 parent 3310355 commit 65fd15c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GameData/ProbeControlRoom/Patches/ProbeControlRoom.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ PROBECONTROLROOM_CONFIG
133133
}
134134
}
135135
// Add the mission control INTERNAL to every probe that does not yet have an INTERNAL
136-
@PART:HAS[@MODULE[ModuleCommand],!INTERNAL]:FOR[ProbeControlRoom]
136+
@PART:HAS[@MODULE[ModuleCommand]&!INTERNAL&#CrewCapacity[0]]:FOR[ProbeControlRoom]
137137
{
138138
#@PROBECONTROLROOM_CONFIG/MODULE[ProbeControlRoomPart] {}
139139
#@PROBECONTROLROOM_CONFIG/MODULE[RasterPropMonitorComputer]:NEEDS[RasterPropMonitor] {}
@@ -142,7 +142,7 @@ PROBECONTROLROOM_CONFIG
142142

143143
// Add the RevIVA support to any probe that has PCR support but no IVA switch.
144144
// Needed to support existing IVA mods that support PCR but not RevIVA
145-
@PART:HAS[@MODULE[ProbeControlRoomPart],!MODULE[ModuleB9PartSwitch]:HAS[#moduleID[IVASwitch]]]:FOR[ProbeControlRoom]:NEEDS[RevIVA]
145+
@PART:HAS[@MODULE[ProbeControlRoomPart]&!MODULE[ModuleB9PartSwitch]:HAS[#moduleID[IVASwitch]]]:FOR[ProbeControlRoom]:NEEDS[RevIVA]
146146
{
147147
#@PROBECONTROLROOM_CONFIG/MODULE[ModuleB9PartSwitch]:HAS[#moduleID[IVASwitch]] {}
148148
#@PROBECONTROLROOM_CONFIG/MODULE[ModuleIVASwitch] {}

0 commit comments

Comments
 (0)