debrain no longer requires being not dead (#21373)

This commit is contained in:
Contrabang
2023-06-21 23:19:05 +01:00
committed by GitHub
parent 16bc693f94
commit 33abd1c91d
+1 -1
View File
@@ -236,7 +236,7 @@ GLOBAL_LIST_INIT(potential_theft_objectives, (subtypesof(/datum/theft_objective)
if(!target.current || !isbrain(target.current))
return FALSE
for(var/datum/mind/M in get_owners())
if(QDELETED(M.current) || M.current.stat == DEAD)
if(QDELETED(M.current))
continue // Maybe someone who's alive has the brain.
if(target.current in M.current.GetAllContents())
return TRUE