-
Notifications
You must be signed in to change notification settings - Fork 230
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
STAGE:SOLIDFUEL returns 360 not 0 once booster is empty in KSP 1.0.2 #946
Comments
blarg :P thank you for the report |
I think I figured out what is going on. This is my problematic code:
In versions previous to KSP 1.0.2 when a solid booster was empty the quantity was not actually 0 (more like .05). KSP 1.0.2 fixes this and once solid fuel is depleted the quantity returned is 0. As a result my booster_present flag is not set and therefore only the current fuel in the stage is returned. I think the other part of the confusion is that the KOS "STAGE" variable does not match up directly with the staging setup in the game. That is STAGE:LIQUIDFUEL returns a non-zero value, even if we are only powered by boosters in the current KSP stage. The fix here is to use a global for booster_present and reset it after we stage(). |
Is it a desired behaviour? |
Probably the same problem: #513. |
#513 is annoying. And this is certainly related |
KSP 1.0.2 update broke my booster staging logic. STAGE:SOLIDFUEL now returns 360 once solid fuel is depleted.
The text was updated successfully, but these errors were encountered: