mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] remove useless double add (#11960)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1b954b8cc4
commit
17ddce7558
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user