[#2532] Fire outdated sim on stage rename

This commit is contained in:
SiboVG 2024-09-01 22:51:23 +02:00
parent 0c0ae11fbc
commit ffed01fb07

View File

@ -1139,7 +1139,11 @@ public abstract class RocketComponent implements ChangeSource, Cloneable, Iterab
else
this.name = name;
fireComponentChangeEvent(ComponentChangeEvent.NONFUNCTIONAL_CHANGE);
if (this instanceof AxialStage) {
fireComponentChangeEvent(ComponentChangeEvent.TREE_CHANGE);
} else {
fireComponentChangeEvent(ComponentChangeEvent.NONFUNCTIONAL_CHANGE);
}
}