Skip to content

Commit

Permalink
Correct writing to XML of EMI and Blowing Sand conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronGullickson committed Mar 25, 2024
1 parent 71a87ab commit dcdcd3b
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 dcdcd3b

Please sign in to comment.