-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Some Planetary Conditions not being assigned from story arc #25
Comments
Blowing sand and EMI also do not show up in the scenario readout in MekHQ, so it may be an issue there. |
Blowing sand is also not working on Twycross, although variable wind conditions is working. |
The issue is that blowing sand and EMI are now enums not simple booleans. The method |
Also, although it reads in the XML as a true/false, it write out the XML as an ordinal which means it won't read it in again properly and using an ordinal here is bad practice because it depends on the ordering being consistent in the future. |
I think I figured out the problem. This happened from a save game. It probably would have worked from a direct load of the story arc, but because I saved the game, it got saved as an ordinal and then when it was reloaded, it didn't read in properly. It should be an easy fix to write back out as a boolean rather than an ordinal. I will do some testing and post up an issue/PR on the main MekHQ. |
I have confirmed that when loading the arc directly and not saving in between, the planetary conditions load correctly. |
The linked PR will resolve this issue. |
For the Devin scenario, I am noticing that only wind speed is being recorded, not blowing sand and EMI.
The text was updated successfully, but these errors were encountered: