mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Applies suggested changes
Co-authored-by: Aronai Sieyes <arokha@arokha.com>
This commit is contained in:
@@ -49,9 +49,9 @@ SUBSYSTEM_DEF(persist)
|
||||
if(department_earning == PTO_AI)
|
||||
department_earning = PTO_CIVILIAN
|
||||
if(department_earning == PTO_CYBORG)
|
||||
if(istype(M, /mob/living/silicon/robot))
|
||||
if(isrobot(M))
|
||||
var/mob/living/silicon/robot/C = M
|
||||
if(C.module && C.module.pto_type)
|
||||
if(C?.module?.pto_type)
|
||||
department_earning = C.module.pto_type
|
||||
if(department_earning == PTO_CYBORG)
|
||||
if (MC_TICK_CHECK)
|
||||
@@ -113,4 +113,4 @@ SUBSYSTEM_DEF(persist)
|
||||
LAZYINITLIST(C.department_hours)
|
||||
if(C.department_hours[DEPARTMENT_COMMAND])
|
||||
C.department_hours[DEPARTMENT_COMMAND] = null
|
||||
C.department_hours.Remove(DEPARTMENT_COMMAND)
|
||||
C.department_hours.Remove(DEPARTMENT_COMMAND)
|
||||
|
||||
Reference in New Issue
Block a user