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

Add playtime support for removed jobs #9893

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

itsmeow
Copy link
Member

@itsmeow itsmeow commented Sep 25, 2023

About The Pull Request

Jobs can now be removed but will show in the playtime report as (Removed).

Developed for #9817

Why It's Good For The Game

Removing historical data from being visible to the player is unhelpful. This also prevents loss of access to roles based on their removal (losing access to CMO due to removal of viro hours, for example)

Testing Photographs and Procedure

Screenshots&Videos

Tested by removing virologist from the code and adding 100min of playtime in the database.

image

Changelog

🆑
code: Added code support for the ability to view playtime of removed jobs.
/:cl:

@github-actions github-actions bot added the TGUI-Changes Contains changes to TGUI. Make sure its up to date with TGUI 4.0 label Sep 25, 2023
code/modules/jobs/jobs.dm Show resolved Hide resolved
@Penwin0 Penwin0 added this pull request to the merge queue Oct 20, 2023
Merged via the queue into BeeStation:master with commit ffd31ed Oct 20, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement TGUI-Changes Contains changes to TGUI. Make sure its up to date with TGUI 4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants