Fixes dried blood decals showing up as normal blood

This commit is contained in:
ShizCalev
2018-11-17 12:13:33 -05:00
committed by Nich
parent bdb0429cca
commit 4d2f2e24e1

View File

@@ -20,9 +20,9 @@
bloodiness = 0
/obj/effect/decal/cleanable/blood/old/Initialize(mapload, list/datum/disease/diseases)
icon_state += "-old" //This IS necessary because the parent /blood type uses icon randomization.
add_blood_DNA(list("Non-human DNA" = random_blood_type())) // Needs to happen before ..()
return ..()
. = ..()
icon_state = "[icon_state]-old" //change from the normal blood icon selected from random_icon_states in the parent's Initialize to the old dried up blood.
/obj/effect/decal/cleanable/blood/splatter
random_icon_states = list("gibbl1", "gibbl2", "gibbl3", "gibbl4", "gibbl5")