mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-16 13:13:03 +00:00
Fixes #4040
This commit is contained in:
@@ -145,9 +145,9 @@
|
|||||||
return
|
return
|
||||||
var/obj/structure/window/WD
|
var/obj/structure/window/WD
|
||||||
if(istype(W,/obj/item/stack/sheet/rglass))
|
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
|
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.dir = dir_to_set
|
||||||
WD.ini_dir = dir_to_set
|
WD.ini_dir = dir_to_set
|
||||||
WD.anchored = 0
|
WD.anchored = 0
|
||||||
@@ -155,6 +155,7 @@
|
|||||||
var/obj/item/stack/ST = W
|
var/obj/item/stack/ST = W
|
||||||
ST.use(1)
|
ST.use(1)
|
||||||
user << "<span class='notice'>You place the [WD] on [src].</span>"
|
user << "<span class='notice'>You place the [WD] on [src].</span>"
|
||||||
|
WD.update_icon()
|
||||||
return
|
return
|
||||||
//window placing end
|
//window placing end
|
||||||
|
|
||||||
|
|||||||
@@ -338,6 +338,7 @@
|
|||||||
spawn(2)
|
spawn(2)
|
||||||
if(!src) return
|
if(!src) return
|
||||||
if(!is_fulltile())
|
if(!is_fulltile())
|
||||||
|
icon_state = "[basestate]"
|
||||||
return
|
return
|
||||||
var/junction = 0 //will be used to determine from which side the window is connected to other windows
|
var/junction = 0 //will be used to determine from which side the window is connected to other windows
|
||||||
if(anchored)
|
if(anchored)
|
||||||
|
|||||||
Reference in New Issue
Block a user