[MIRROR] Fix custom job titles displaying with question mark icons in medical/security records. #2158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mirrored on Nova: NovaSector/NovaSector#1148
Original PR: tgstation/tgstation#81637
About The Pull Request
Medical/Security records display a nice little icon next to each name in their list of registered crew, based on what their job on the station is.
However, this is based off of
rank
and thus the actual job title, meaning anyone with a hop-customized job title would have a question mark icon instead.By changing it to use
trim
, which is set from the ID's trim rather than title when updating the manifest, custom titles work perfectly fine and the records instead display an icon based on the ID's trim.Why It's Good For The Game
Better than having a question mark icon for every single custom job, especially when it's just a hop adding a modifier to an existing job to reflect extra access.
Changelog
🆑 00-Steven
fix: Medical/security records now show an icon based on the registered trim, rather than showing a question mark for records with customized titles.
/:cl: