Skip to content

fix load/save mismatch in missions#7037

Merged
Goober5000 merged 1 commit into
scp-fs2open:masterfrom
Goober5000:save_fix
Sep 15, 2025
Merged

fix load/save mismatch in missions#7037
Goober5000 merged 1 commit into
scp-fs2open:masterfrom
Goober5000:save_fix

Conversation

@Goober5000

@Goober5000 Goober5000 commented Sep 14, 2025

Copy link
Copy Markdown
Contributor

When $Contrail Speed Threshold: and +Volumetric Nebula: are used in a mission, builds since 23.1 would throw an error, since the fields were loaded in a different order than they were saved. It turned out that the save order was the correct order, so this fixes the load order.

In draft pending acceptance testing. Confirmed to work by Darius.

@Goober5000 Goober5000 added this to the Release 25.0 milestone Sep 14, 2025
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. general modding A general feature or issue related to modding capabilities of FSO labels Sep 14, 2025
When `$Contrail Speed Threshold:` and `+Volumetric Nebula:` are used in a mission, builds since 23.1 would throw an error, since the fields were loaded in a different order than they were saved.  It turned out that the save order was the correct order, so this fixes the load order.
@Goober5000 Goober5000 marked this pull request as ready for review September 15, 2025 01:49
@Goober5000 Goober5000 merged commit a32c318 into scp-fs2open:master Sep 15, 2025
20 checks passed
@Goober5000 Goober5000 deleted the save_fix branch September 15, 2025 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A fix for bugs, not-a-bugs, and/or regressions. general modding A general feature or issue related to modding capabilities of FSO

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants