remove useless double add (#18770)

This commit is contained in:
Kashargul
2025-11-11 00:18:48 +01:00
committed by GitHub
parent 7da04641b6
commit ee82b56655
-2
View File
@@ -617,11 +617,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()