Skip to content

Commit

Permalink
Merge pull request #3903 from AaronGullickson/fix-planetary-cond-io
Browse files Browse the repository at this point in the history
Correct writing to XML of EMI and Blowing Sand conditions
  • Loading branch information
AaronGullickson authored Mar 25, 2024
2 parents c72cd15 + dcdcd3b commit c1e157d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MekHQ/src/mekhq/campaign/mission/Scenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ protected int writeToXMLBegin(final PrintWriter pw, int indent) {
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "temperature", temperature);
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "atmosphere", atmosphere.ordinal());
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "gravity", gravity);
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "emi", emi.ordinal());
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "blowingSand", blowingSand.ordinal());
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "emi", emi.isEMI());
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "blowingSand", blowingSand.isBlowingSand());
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "shiftWindDirection", shiftWindDirection);
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "shiftWindStrength", shiftWindStrength);
MHQXMLUtility.writeSimpleXMLTag(pw, indent, "maxWindStrength", maxWindStrength.ordinal());
Expand Down

0 comments on commit c1e157d

Please sign in to comment.