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 for #236 : Improved ModuleIndexingMismatch patch #264

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

gotmachine
Copy link
Contributor

See #236

ModuleIndexingMismatch will now still load a module data when the mismatched module is of a base or derived type. Notably prevent engine state such as action groups configuration from being lost when installing/uninstalling Waterfall, or when exchanging craft files between stock and Waterfall installs.

Note that the modified patch will only load the persisted/saved data if the module indexes are still matching. Handling cases where the module is involved in an index reordering would be a lot more hazardous, as we can't exclude the possibility of multiple modules sharing the same inheritance tree being on the same part.

…load a module data when the mismatched module is of a base or derived type. Notably prevent engine state such as action groups configuration from being lost when installing/uninstalling Waterfall, or when exchanging craft files between stock and Waterfall installs.
@JonnyOThan JonnyOThan force-pushed the ModuleIndexingMismatchFallbackToBaseType branch from f5690bf to 1770a47 Compare October 15, 2024 14:48
@gotmachine gotmachine added the kspModding Modding fix or API extension label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kspModding Modding fix or API extension
Development

Successfully merging this pull request may close these issues.

1 participant