This commit is contained in:
Zuhayr
2013-12-18 11:10:00 +10:30
parent e110b51337
commit 6984ba3fec
2 changed files with 4 additions and 2 deletions

View File

@@ -145,9 +145,9 @@
return
var/obj/structure/window/WD
if(istype(W,/obj/item/stack/sheet/rglass))
WD = new/obj/structure/window(loc,1) //reinforced window
WD = new/obj/structure/window/reinforced(loc) //reinforced window
else
WD = new/obj/structure/window(loc,0) //normal window
WD = new/obj/structure/window/basic(loc) //normal window
WD.dir = dir_to_set
WD.ini_dir = dir_to_set
WD.anchored = 0
@@ -155,6 +155,7 @@
var/obj/item/stack/ST = W
ST.use(1)
user << "<span class='notice'>You place the [WD] on [src].</span>"
WD.update_icon()
return
//window placing end

View File

@@ -338,6 +338,7 @@
spawn(2)
if(!src) return
if(!is_fulltile())
icon_state = "[basestate]"
return
var/junction = 0 //will be used to determine from which side the window is connected to other windows
if(anchored)