-
Notifications
You must be signed in to change notification settings - Fork 124
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 rpak aliasing not working when trying to alias towards a vanilla rpak #825
Conversation
cc @Alystrasz for testing |
Explanation from Spoon on Discord:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To test this change, I installed s2space, a mod aliasing vanilla rpaks; then launched a game in private match using map mp_s2s
.
Without PR
With PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good. Maybe a comment that mentions that vanilla aliases behave a bit different?
cc @ASpoonPlaysGames to decide whether to merge with or without comment |
Dont think it's necessary, it acts fairly intuitively |
ah fuck, forgot to prefix commit with |
…rpak (R2Northstar#825) Replace incorrect variable with hardcoded `-1` Don't account for the modded path in pak aliases
Fixing stuff described by @Alystrasz on discord. I don't really like this behaviour as it behaves a bit differently for vanilla rpak loads and modded rpak loads, but aliasing is hacky already so meh.