Merge pull request #34627 from ShizCalev/pie-runtime

Fixes pie runtime
This commit is contained in:
Jordan Brown
2018-01-19 09:57:23 -05:00
committed by CitadelStationBot
parent c6f227fc18
commit 93cc10b7a0
@@ -39,7 +39,8 @@
return
var/turf/T = get_turf(hit_atom)
new/obj/effect/decal/cleanable/pie_smudge(T)
reagents.reaction(hit_atom, TOUCH)
if(reagents && reagents.total_volume)
reagents.reaction(hit_atom, TOUCH)
if(ishuman(hit_atom))
var/mob/living/carbon/human/H = hit_atom
var/mutable_appearance/creamoverlay = mutable_appearance('icons/effects/creampie.dmi')