Replace a bunch of overlay calls (#3005)

changes:

Converts a bunch of manual overlay manipulation to SSoverlay calls.
Moved more cache lists to SSicon_cache.
This commit is contained in:
Lohikar
2017-07-13 21:12:53 +03:00
committed by skull132
parent 12bfdd2f79
commit 687e56a8e0
34 changed files with 152 additions and 145 deletions
+2 -2
View File
@@ -296,8 +296,8 @@ proc/blood_splatter(var/target,var/datum/reagent/blood/source,var/large)
B = new decal_type(T)
var/obj/effect/decal/cleanable/blood/drip/drop = B
if(istype(drop) && drips && drips.len && !large)
drop.overlays |= drips
if(istype(drop) && LAZYLEN(drips) && !large)
drop.add_overlay(drips)
drop.drips |= drips
// If there's no data to copy, call it quits here.