mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Fixes a runtime for non-human mobs bleeding on the floor
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user