From 83e3f3a1afc0152011c8a7e0b5de4f51d88a1fcc Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Mon, 22 Aug 2016 20:55:36 -0700 Subject: [PATCH] Fixes a runtime for non-human mobs bleeding on the floor --- code/game/turfs/simulated.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/turfs/simulated.dm b/code/game/turfs/simulated.dm index c1b6d7d2122..a247e35a86f 100644 --- a/code/game/turfs/simulated.dm +++ b/code/game/turfs/simulated.dm @@ -116,6 +116,8 @@ if(!..()) return 0 + if(!istype(M)) // To avoid non-humans from causing runtimes whena dding blood to the floor + return 0 var/obj/effect/decal/cleanable/blood/B = locate() in contents //check for existing blood splatter if(!B) blood_splatter(src,M.get_blood(M.vessel),1)