-
Notifications
You must be signed in to change notification settings - Fork 127
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
Allow Postload to be used with modded rpaks properly #230
Allow Postload to be used with modded rpaks properly #230
Conversation
Is this still an issue? |
Kinda? I don't think anyone actually runs into it in practice, but being unable to load an rpak specifically after another modded rpak is annoying in theory. For testing, see the above comments, nothing about that stuff has changed |
Closes #229
This allows Postload to use relative paths for the target rpak, meaning modded rpaks can be used as valid Postload targets.
This is now valid, and will cause the following rpak load order:
common.rpak -> betapulse_preload.rpak -> betapulse.rpak
"Postload": { "betapulse_preload.rpak": "common.rpak", "betapulse.rpak": "./betapulse_preload.rpak" }
Importantly,
common.rpak
is still a valid Postload target, making this not a breaking change for rpak mods"betapulse.rpak": "betapulse_preload.rpak"
would also work in this example, however it would load the rpak if another mod loaded an rpak calledbetapulse_preload.rpak
which could cause problems.