From 8ebb69fcab4b235ca5391ab2ddb2935cf4f1b1db Mon Sep 17 00:00:00 2001 From: skull132 Date: Tue, 20 Sep 2016 08:37:09 +0300 Subject: [PATCH] Runtime in mob life if they have no mind (#971) It was built on the assumption that they all have a mind. Which not everyone does. --- code/modules/organs/blood.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/organs/blood.dm b/code/modules/organs/blood.dm index 8d8573cf1e4..fa0b87ec212 100644 --- a/code/modules/organs/blood.dm +++ b/code/modules/organs/blood.dm @@ -229,7 +229,7 @@ var/const/BLOOD_VOLUME_SURVIVE = 122 if (!injected || !our) return - if(blood_incompatible(injected.data["blood_type"],our.data["blood_type"],injected.data["species"],our.data["species"]) && !(mind.vampire)) + if(blood_incompatible(injected.data["blood_type"],our.data["blood_type"],injected.data["species"],our.data["species"]) && !(mind && mind.vampire)) reagents.add_reagent("toxin",amount * 0.5) reagents.update_total() else