When downloading burn files, prefer RockSim formatted files of RASP since they appear to be better. In particular there is a RASP file for the AeroTech G76 which contains the incorrect motor designation of G72.
This commit is contained in:
parent
597d4bec6a
commit
178755ca90
@ -14,6 +14,11 @@ public class DownloadResponse {
|
||||
MotorBurnFile currentData = data.get(mbd.getMotorId());
|
||||
if ( currentData == null || currentData.getThrustCurveMotor() == null ) {
|
||||
data.put(mbd.getMotorId(),mbd);
|
||||
} else {
|
||||
// Prefer RASP motors.
|
||||
if ( "RockSim".equals(mbd.getFiletype()) && !"RockSim".equals(currentData.getFiletype()) ) {
|
||||
data.put(mbd.getMotorId(), mbd);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user