Redo getActiveComponents

This commit is contained in:
SiboVG 2022-07-20 00:17:22 +02:00
parent d2b13c6714
commit 297123a7f2

View File

@ -70,7 +70,7 @@ public class RollControlListener extends AbstractSimulationListener {
// Find the fin set named CONTROL
FinSet finset = null;
for (RocketComponent c : status.getConfiguration().getAllComponents()) {
for (RocketComponent c : status.getConfiguration().getActiveComponents()) {
if ((c instanceof FinSet) && (c.getName().equals(CONTROL_FIN_NAME))) {
finset = (FinSet) c;
break;