mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
remove useless double add (#18770)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user