mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge branch 'release' of https://github.com/VOREStation/VOREStation into izac
This commit is contained in:
@@ -32,7 +32,7 @@ SUBSYSTEM_DEF(ai)
|
||||
while(currentrun.len)
|
||||
var/datum/ai_holder/A = currentrun[currentrun.len]
|
||||
--currentrun.len
|
||||
if(!A || QDELETED(A) || A.busy) // Doesn't exist or won't exist soon or not doing it this tick
|
||||
if(!A || QDELETED(A) || !A.holder?.loc || A.busy) // Doesn't exist or won't exist soon or not doing it this tick
|
||||
continue
|
||||
|
||||
if(process_z[get_z(A.holder)])
|
||||
|
||||
@@ -43,7 +43,7 @@ SUBSYSTEM_DEF(mobs)
|
||||
if(!M || QDELETED(M))
|
||||
mob_list -= M
|
||||
continue
|
||||
else if(M.low_priority && !(process_z[get_z(M)]))
|
||||
else if(M.low_priority && !(M.loc && process_z[get_z(M)]))
|
||||
slept_mobs++
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user