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
|
* @return if the object is a launch stage
|
||||||
*/
|
*/
|
||||||
public boolean isLaunchStage(FlightConfiguration config) {
|
public boolean isLaunchStage(FlightConfiguration config) {
|
||||||
return ((this instanceof ParallelStage && config.isStageActive(this.stageNumber))
|
return (getRocket().getBottomCoreStage(config).equals(this));
|
||||||
||( getRocket().getBottomCoreStage(config).equals(this)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -111,8 +111,8 @@ public class ParallelStage extends AxialStage implements FlightConfigurableCompo
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isLaunchStage(){
|
public boolean isLaunchStage(FlightConfiguration config) {
|
||||||
return true;
|
return config.isStageActive(this.stageNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user