mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #12495 from Verkister/patch-110
fixes lighting turf opacity runtime spam
This commit is contained in:
@@ -111,7 +111,7 @@
|
|||||||
return
|
return
|
||||||
directional_opacity = NONE
|
directional_opacity = NONE
|
||||||
for(var/atom/movable/opacity_source as anything in opacity_sources)
|
for(var/atom/movable/opacity_source as anything in opacity_sources)
|
||||||
if(opacity_source.flags & ON_BORDER)
|
if(opacity_source && opacity_source.flags & ON_BORDER)
|
||||||
directional_opacity |= opacity_source.dir
|
directional_opacity |= opacity_source.dir
|
||||||
else //If fulltile and opaque, then the whole tile blocks view, no need to continue checking.
|
else //If fulltile and opaque, then the whole tile blocks view, no need to continue checking.
|
||||||
directional_opacity = ALL_CARDINALS
|
directional_opacity = ALL_CARDINALS
|
||||||
|
|||||||
Reference in New Issue
Block a user