From 22f64c3b1f549615b792ebf9079d5ba6ca5a7353 Mon Sep 17 00:00:00 2001 From: AnturK Date: Mon, 22 Jan 2018 04:17:36 +0100 Subject: [PATCH 1/2] Fixes holes in station showing up white on photos. (#34697) --- code/__HELPERS/icons.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/__HELPERS/icons.dm b/code/__HELPERS/icons.dm index 3334b96742..cd70081ef5 100644 --- a/code/__HELPERS/icons.dm +++ b/code/__HELPERS/icons.dm @@ -813,6 +813,9 @@ The _flatIcons list is a cache for generated icon files. curIndex++ //Try the next layer continue var/image/I = current + if(I.plane != FLOAT_PLANE && I.plane != A.plane) + curIndex++ + continue currentLayer = I.layer if(currentLayer<0) // Special case for FLY_LAYER if(currentLayer <= -1000)