mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Defining Part 4 - Code cleanup toward defines (... and the rest) (#19388)
* I wasn't done * nits
This commit is contained in:
@@ -187,7 +187,7 @@ SUBSYSTEM_DEF(shuttle)
|
||||
var/callShuttle = 1
|
||||
|
||||
for(var/thing in GLOB.shuttle_caller_list)
|
||||
if(istype(thing, /mob/living/silicon/ai))
|
||||
if(isAI(thing))
|
||||
var/mob/living/silicon/ai/AI = thing
|
||||
if(AI.stat || !AI.client)
|
||||
continue
|
||||
|
||||
@@ -521,7 +521,7 @@ SUBSYSTEM_DEF(ticker)
|
||||
|
||||
for(var/mob/living/silicon/robot/robo in GLOB.mob_list)
|
||||
|
||||
if(istype(robo,/mob/living/silicon/robot/drone))
|
||||
if(isdrone(robo))
|
||||
dronecount++
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user