diff --git a/code/__DEFINES/layers.dm b/code/__DEFINES/layers.dm index 614383931c..9350116635 100644 --- a/code/__DEFINES/layers.dm +++ b/code/__DEFINES/layers.dm @@ -81,6 +81,9 @@ #define ABOVE_LIGHTING_PLANE 16 #define ABOVE_LIGHTING_LAYER 16 +#define BYOND_LIGHTING_PLANE 17 +#define BYOND_LIGHTING_LAYER 17 + //HUD layer defines #define FULLSCREEN_PLANE 18 diff --git a/code/modules/mob/living/silicon/ai/freelook/chunk.dm b/code/modules/mob/living/silicon/ai/freelook/chunk.dm index bf3139cc4f..829e467ebc 100644 --- a/code/modules/mob/living/silicon/ai/freelook/chunk.dm +++ b/code/modules/mob/living/silicon/ai/freelook/chunk.dm @@ -106,10 +106,10 @@ var/turf/t = turf if(obscuredTurfs[t]) if(!t.obscured) - t.obscured = image('icons/effects/cameravis.dmi', t, null, LIGHTING_LAYER+1) + t.obscured = image('icons/effects/cameravis.dmi', t, null, BYOND_LIGHTING_LAYER+0.1) t.obscured.pixel_x = -t.pixel_x t.obscured.pixel_y = -t.pixel_y - t.obscured.plane = LIGHTING_PLANE+1 + t.obscured.plane = BYOND_LIGHTING_PLANE+0.1 obscured += t.obscured for(var/eye in seenby) var/mob/camera/aiEye/m = eye @@ -170,4 +170,4 @@ obscured += t.obscured #undef UPDATE_BUFFER -#undef CHUNK_SIZE \ No newline at end of file +#undef CHUNK_SIZE