From 1fc2d5da04cdf76e4d24c7a7a85b1cafd1bc84f8 Mon Sep 17 00:00:00 2001 From: Cyantime Date: Thu, 16 Nov 2017 16:49:22 -0500 Subject: [PATCH] Allows constructed full window to smooth with mapped windows --- code/game/objects/structures/window.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 6450894f4c..49f3bb8437 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -428,7 +428,7 @@ var/list/dirs = list() if(anchored) for(var/obj/structure/window/W in orange(src,1)) - if(W.anchored && W.density && W.type == src.type && W.is_fulltile()) //Only counts anchored, not-destroyed fill-tile windows. + if(W.anchored && W.density && W.glasstype == src.glasstype && W.is_fulltile()) //Only counts anchored, not-destroyed fill-tile windows. dirs += get_dir(src, W) var/list/connections = dirs_to_corner_states(dirs)