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:
vuonojenmustaturska
2018-07-06 13:28:01 -05:00
committed by letterjay
parent 981743a170
commit 417496aa6e
27 changed files with 62 additions and 51 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
to_chat(user, "<span class='notice'>You begin to [anchored ? "unwrench" : "wrench"] [src].</span>")
if(I.use_tool(src, user, 20, volume=50))
to_chat(user, "<span class='notice'>You successfully [anchored ? "unwrench" : "wrench"] [src].</span>")
anchored = !anchored
setAnchored(!anchored)
else
return ..()