From 17ddce7558e23e16f72a7b538bfe4cc4c8165ef9 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:22:08 -0700 Subject: [PATCH] [MIRROR] remove useless double add (#11960) Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> --- code/game/objects/structures/window.dm | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index aafd82beef..da513b3850 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -623,11 +623,9 @@ if(opacity) animate(src, color="#FFFFFF", time=5) set_opacity(0) - AddElement(/datum/element/light_blocking) else animate(src, color="#222222", time=5) set_opacity(1) - RemoveElement(/datum/element/light_blocking) var/turf/T = get_turf(src) T.recalculate_directional_opacity()