Include non-active booster condition
This commit is contained in:
parent
027ed2eaa6
commit
d8a1de2652
@ -134,8 +134,7 @@ public class AxialStage extends ComponentAssembly implements FlightConfigurableC
|
||||
* @return if the object is a launch stage
|
||||
*/
|
||||
public boolean isLaunchStage(FlightConfiguration config) {
|
||||
return ((this instanceof ParallelStage && config.isStageActive(this.stageNumber))
|
||||
||( getRocket().getBottomCoreStage(config).equals(this)));
|
||||
return (getRocket().getBottomCoreStage(config).equals(this));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -111,8 +111,8 @@ public class ParallelStage extends AxialStage implements FlightConfigurableCompo
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLaunchStage(){
|
||||
return true;
|
||||
public boolean isLaunchStage(FlightConfiguration config) {
|
||||
return config.isStageActive(this.stageNumber);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user