mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fix for assistants being unspawnable after one enters a cryopod.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ var/global/datum/controller/occupations/job_master
|
|||||||
|
|
||||||
proc/FreeRole(var/rank) //making additional slot on the fly
|
proc/FreeRole(var/rank) //making additional slot on the fly
|
||||||
var/datum/job/job = GetJob(rank)
|
var/datum/job/job = GetJob(rank)
|
||||||
if(job && job.current_positions >= job.total_positions)
|
if(job && job.current_positions >= job.total_positions && job.total_positions != -1)
|
||||||
job.total_positions++
|
job.total_positions++
|
||||||
return 1
|
return 1
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user