mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
[MIRROR] Ports Cryopods (#4880)
* Ports Cryopods (#58025) Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> Co-authored-by: Kokonut <38844529+maxymax13@ users.noreply.github.com> Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com> * Ports Cryopods * aaaa * Update cryopod.dm Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> Co-authored-by: Kokonut <38844529+maxymax13@ users.noreply.github.com> Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
co-authored by
Mothblocks
Kokonut
Aleksej Komarov
Jeremiah
Gandalf
parent
da714da60e
commit
ef50ca23cb
@@ -145,6 +145,14 @@ SUBSYSTEM_DEF(job)
|
||||
JobDebug("AR has failed, Player: [player], Rank: [rank]")
|
||||
return FALSE
|
||||
|
||||
/datum/controller/subsystem/job/proc/FreeRole(rank)
|
||||
if(!rank)
|
||||
return
|
||||
JobDebug("Freeing role: [rank]")
|
||||
var/datum/job/job = GetJob(rank)
|
||||
if(!job)
|
||||
return FALSE
|
||||
job.current_positions = max(0, job.current_positions - 1)
|
||||
|
||||
/datum/controller/subsystem/job/proc/FindOccupationCandidates(datum/job/job, level, flag)
|
||||
JobDebug("Running FOC, Job: [job], Level: [level], Flag: [flag]")
|
||||
|
||||
Reference in New Issue
Block a user