Fix incorrect ERT slots being set

This commit is contained in:
Tayyyyyyy
2018-05-27 15:48:29 -07:00
parent 639f2a4cdf
commit def0702ba0
+7 -7
View File
@@ -203,13 +203,13 @@ var/ert_request_answered = 0
var/cyborg_unlock = 0
/datum/response_team/proc/setSlots(com, sec, med, eng, jan, par, cyb)
command_slots = com || command_slots
security_slots = sec || security_slots
medical_slots = med || medical_slots
engineer_slots = eng || engineer_slots
janitor_slots = jan || janitor_slots
paranormal_slots = par || paranormal_slots
cyborg_slots = cyb || cyborg_slots
command_slots = com == null ? command_slots : com
security_slots = sec == null ? security_slots : sec
medical_slots = med == null ? medical_slots : med
engineer_slots = eng == null ? engineer_slots : eng
janitor_slots = jan == null ? janitor_slots : jan
paranormal_slots = par == null ? paranormal_slots : par
cyborg_slots = cyb == null ? cyborg_slots : cyb
/datum/response_team/proc/reduceCyborgSlots()
cyborg_slots--