🆑 Kyep
fix: Prioritized jobs now lose their priority status once all their
slots are filled. In the event someone with a formerly prioritized job
cryos, the HoP may want to re-prioritize the job.
/ 🆑

Fixes #7630
Prevents prioritized jobs, even after being filled, from being listed in
green on the new_player screen for the rest of the round.
This commit is contained in:
Kyep
2017-06-25 18:17:04 -07:00
parent e7fc1bcdfd
commit 2f01965808
+3 -1
View File
@@ -302,7 +302,9 @@
AnnounceArrival(character, rank, join_message)
callHook("latespawn", list(character))
var/datum/job/thisjob = job_master.GetJob(rank)
if(!thisjob.is_position_available() && thisjob in job_master.prioritized_jobs)
job_master.prioritized_jobs -= thisjob
qdel(src)