Remove unneeded config update

Selected config is present in configset
This commit is contained in:
SiboVG 2022-07-23 23:29:48 +02:00
parent cfb51d350a
commit f1a98bc776

View File

@ -514,7 +514,8 @@ public class Rocket extends ComponentAssembly {
// Notify all components first
Iterator<RocketComponent> iterator = this.iterator(true);
while (iterator.hasNext()) {
iterator.next().componentChanged(cce);
RocketComponent next = iterator.next();
next.componentChanged(cce);
}
notifyAllListeners(cce);
@ -554,7 +555,6 @@ public class Rocket extends ComponentAssembly {
}
private void updateConfigurations(){
this.selectedConfiguration.update();
for( FlightConfiguration config : configSet ){
config.update();
}