mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user