Merge pull request #1151 from JoePfeiffer/unstable

Don't need to save <radialdirection> for pod sets, since there's no backward compatibility issue with them
This commit is contained in:
SiboVG 2022-02-22 18:17:22 +01:00 committed by GitHub
commit 8af5710380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ public class RocketComponentSaver {
if (c instanceof FinSet || c instanceof TubeFinSet) { if (c instanceof FinSet || c instanceof TubeFinSet) {
elements.add("<rotation>" + angleOffset + "</rotation>"); elements.add("<rotation>" + angleOffset + "</rotation>");
} }
else if (!(c instanceof RailButton)) { else if (!(c instanceof RailButton) && !(c instanceof PodSet)) {
elements.add("<radialdirection>" + angleOffset + "</radialdirection>"); elements.add("<radialdirection>" + angleOffset + "</radialdirection>");
} }
} }