[MIRROR] remove useless double add (#11960)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-10 16:22:08 -07:00
committed by GitHub
parent 1b954b8cc4
commit 17ddce7558

View File

@@ -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()