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

[BugFix] Persist Job Restrictions When New User Late Joins #26498

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

Huxellberger
Copy link
Contributor

About the PR

Small 1 line change to new Late Join UI caching logic.

Why / Balance

Fix potential bug where late joiners would unlock roles that they do not meet the requirements for. (only on client UI side...not server side)

Technical details

Since we only considered the available slots remaining after caching if there was a role you previously missed the requirements for we'd ignore that prior restriction and open it up on the Client UI. We now make sure to persist the previous restrictions. Apologies for missing this case on my first PR.

Media

Additional clarity is best achieved from looking at my previous PR and attached video : #26483

  • [ X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

🆑 Jake Huxell

  • fix: Late join menu correctly respects client role restrictions.

@Huxellberger
Copy link
Contributor Author

Huxellberger commented Mar 28, 2024

Failures are unrelated to this CL

@Huxellberger Huxellberger changed the title Persist Job Restrictions When New User Late Joins [BugFix] Persist Job Restrictions When New User Late Joins Mar 28, 2024
@metalgearsloth metalgearsloth merged commit cfc0ecb into space-wizards:master Mar 29, 2024
11 checks 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