more runtimes, fixes wrong gibs and blood

This commit is contained in:
Dip
2020-10-24 02:23:06 -03:00
parent e162b8c36f
commit 124bf72657
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -164,7 +164,7 @@
if(starting)
splatter_dir = get_dir(starting, target_loca)
var/obj/item/bodypart/B = L.get_bodypart(def_zone)
if(B.status == BODYPART_ROBOTIC) // So if you hit a robotic, it sparks instead of bloodspatters
if(B && B.status == BODYPART_ROBOTIC) // So if you hit a robotic, it sparks instead of bloodspatters
do_sparks(2, FALSE, target.loc)
if(prob(25))
new /obj/effect/decal/cleanable/oil(target_loca)