applies ghommie's suggested change

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
deathride58
2019-10-27 20:41:44 -04:00
committed by GitHub
parent 0ae8953da9
commit c1742c0572

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(istype(B) && 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)