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

Always run KSPCF first in ModuleManagerPostLoad #238

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

al2me6
Copy link
Contributor

@al2me6 al2me6 commented Jul 7, 2024

As discussed with @JonnyOThan.

A MonoBehaviour gets called fairly late by MM (the ordering is explicit callbacks -> static methods -> MonoBehaviour methods). Furthermore, the calling order within each method signature is unspecified.

This PR inserts KSPCF as the first explicit callback, which allows other ModuleManagerPostLoad callbacks to rely on KSPCF fixes.

@JonnyOThan JonnyOThan changed the base branch from master to dev October 7, 2024 14:27
@JonnyOThan JonnyOThan merged commit e1a31e7 into KSPModdingLibs:dev Oct 7, 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
Development

Successfully merging this pull request may close these issues.

2 participants