From d0447f061adfbd5dde2bddd8fc40566149083b0c Mon Sep 17 00:00:00 2001 From: Artorp Date: Mon, 11 Aug 2014 01:51:10 +0200 Subject: [PATCH] Fixes states of onedirectional windows Will only change the reinforced plasma window. You don't have to pry them out of a frame before anchoring them anymore. --- code/game/objects/items/stacks/sheets/glass.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index aa0bf038547..9cbe5dbabe9 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -100,6 +100,7 @@ W = new /obj/structure/window/basic( user.loc, 0 ) W.dir = dir_to_set W.ini_dir = W.dir + W.state = 0 W.anchored = 0 src.use(1) if("Full Window") @@ -408,6 +409,7 @@ W = new /obj/structure/window/plasmabasic( user.loc, 0 ) W.dir = dir_to_set W.ini_dir = W.dir + W.state = 0 W.anchored = 0 src.use(1) if("Full Window") @@ -480,6 +482,7 @@ W = new /obj/structure/window/plasmareinforced( user.loc, 0 ) W.dir = dir_to_set W.ini_dir = W.dir + W.state = 0 W.anchored = 0 src.use(1) if("Full Window")