Skip to content
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

Fix mods save data loading when reverting to VAB #288

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

rockfactory
Copy link
Contributor

FlowActions used to serialize/deserialize in memory are different from the ones used to load and save the game from JSON files.
With this PR I introduce two new Harmony patches to handle in-memory serialization & deserialization.

Common logic has been refactored in a central method, to avoid duplication between the two paths

FlowActions used to serialize/deserialize in memory are different from the ones used to load and save the game from JSON files
@cheese3660
Copy link
Member

LGTM

@cheese3660 cheese3660 merged commit 029775c into SpaceWarpDev:dev Jan 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants