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)