Merge pull request #1860 from JoePfeiffer/fix-1611
Disallow stage separation at launch
This commit is contained in:
commit
9a51bda56d
@ -60,14 +60,6 @@ public class StageSeparationConfiguration implements FlightConfigurableParameter
|
|||||||
return (mount == ignition);
|
return (mount == ignition);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//// Launch
|
|
||||||
LAUNCH(trans.get("Stage.SeparationEvent.LAUNCH")) {
|
|
||||||
@Override
|
|
||||||
public boolean isSeparationEvent(FlightEvent e, AxialStage stage) {
|
|
||||||
return e.getType() == FlightEvent.Type.LAUNCH;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//// Never
|
|
||||||
NEVER(trans.get("Stage.SeparationEvent.NEVER")) {
|
NEVER(trans.get("Stage.SeparationEvent.NEVER")) {
|
||||||
@Override
|
@Override
|
||||||
public boolean isSeparationEvent(FlightEvent e, AxialStage stage) {
|
public boolean isSeparationEvent(FlightEvent e, AxialStage stage) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user