From 33abd1c91daa6f1af23f5accf3db13a510818a1c Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Wed, 21 Jun 2023 18:19:05 -0400 Subject: [PATCH] debrain no longer requires being not dead (#21373) --- code/game/gamemodes/objective.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index 380ab2003c7..fc7e33b6a2b 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -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