From 189a43f7db2f7fa59a896dab51def3480591b1c5 Mon Sep 17 00:00:00 2001 From: Superlagg Date: Sun, 20 Oct 2024 13:59:45 -0700 Subject: [PATCH] my name is shadow the hedgehog and I HATE lag --- code/game/objects/items.dm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index 17e4afe8cb6..c6e1f773ea2 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -280,13 +280,14 @@ GLOBAL_VAR_INIT(embedpocalypse, FALSE) // if true, all items will be able to emb if(reskinnable_component) AddComponent(reskinnable_component) - add_filter("wacky_shadow",10, list( - "type"="drop_shadow", - "x"=1, - "y"=-1, - "size"=1, - "offset"=0, - "color"= "#0000007A")) + if(shadow) + add_filter("wacky_shadow",10, list( + "type"="drop_shadow", + "x"=1, + "y"=-1, + "size"=1, + "offset"=0, + "color"= "#0000007A")) /obj/item/proc/check_allowed_items(atom/target, not_inside, target_self)