Merge pull request #4279 from Verkister/jobslot

Fixes one player being able to hog every slot of a job alone.
This commit is contained in:
Anewbe
2017-11-18 12:03:28 -06:00
committed by GitHub
+1 -1
View File
@@ -74,7 +74,7 @@ var/global/datum/controller/occupations/job_master
proc/FreeRole(var/rank) //making additional slot on the fly
var/datum/job/job = GetJob(rank)
if(job && job.current_positions >= job.total_positions && job.total_positions != -1)
if(job && job.total_positions != -1)
job.total_positions++
return 1
return 0