Merge pull request #4848 from VOREStation/upstream-merge-5996

[MIRROR] Fixed construction of fulltile electrochromic windows
This commit is contained in:
Novacat
2019-03-28 22:01:16 -04:00
committed by GitHub
+4
View File
@@ -305,6 +305,10 @@
if(do_after(user, 20 * C.toolspeed, src) && state == 0)
playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
var/obj/structure/window/reinforced/polarized/P = new(loc, dir)
if(is_fulltile())
P.fulltile = TRUE
P.icon_state = "fwindow"
P.maxhealth = maxhealth
P.health = health
P.state = state
P.anchored = anchored