From 86a1b633076138fc5556068ab4bb9d549ee80948 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 8 Jul 2019 18:45:08 -0500 Subject: [PATCH] Actually make handle_corpse do something Whoops --- code/modules/ai/ai_holder_targeting.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/ai/ai_holder_targeting.dm b/code/modules/ai/ai_holder_targeting.dm index 2a278db711..e70e991d6e 100644 --- a/code/modules/ai/ai_holder_targeting.dm +++ b/code/modules/ai/ai_holder_targeting.dm @@ -122,7 +122,7 @@ if(L.key && !L.client) // SSD players get a pass return FALSE if(L.stat) - if(L.stat == DEAD) // Leave dead things alone + if(L.stat == DEAD && !handle_corpse) // Leave dead things alone return FALSE if(L.stat == UNCONSCIOUS) // Do we have mauling? Yes? Then maul people who are sleeping but not SSD if(mauling)