Fix constructed directional windows leaking atmos, wrap setting of the anchored var on objects (#38934)
* Wrap setting anchored for structures, fix atmos bug * forgot this * Add a signal for setanchored * move setanchored to obj * machinery, also some structure stuff * tabbing
This commit is contained in:
committed by
letterjay
parent
981743a170
commit
417496aa6e
@@ -42,7 +42,7 @@
|
||||
if(istype(W, /obj/item/weldingtool))
|
||||
if(weld(W, user))
|
||||
to_chat(user, "<span class='notice'>You weld the assembly securely into place.</span>")
|
||||
anchored = TRUE
|
||||
setAnchored(TRUE)
|
||||
state = 2
|
||||
return
|
||||
if(2)
|
||||
@@ -62,7 +62,7 @@
|
||||
if(weld(W, user))
|
||||
to_chat(user, "<span class='notice'>You unweld the assembly from its place.</span>")
|
||||
state = 1
|
||||
anchored = TRUE
|
||||
setAnchored(TRUE)
|
||||
return
|
||||
|
||||
// Upgrades!
|
||||
|
||||
Reference in New Issue
Block a user