Fix bugs!

This commit is contained in:
Aronai Sieyes
2021-07-22 16:01:52 -04:00
parent f4daa9e139
commit 68c9e6a23d
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
/obj/structure/low_wall/LateInitialize()
. = ..()
update_connections()
update_connections(1)
update_icon()
/obj/structure/low_wall/Destroy()
+2
View File
@@ -273,12 +273,14 @@
to_chat(user, "<span class='notice'>You have [state == 1 ? "un" : ""]fastened the window [state ? "from" : "to"] the frame.</span>")
else if(reinf && state == 0)
anchored = !anchored
update_nearby_tiles(need_rebuild=1)
update_nearby_icons()
update_verbs()
playsound(src, W.usesound, 75, 1)
to_chat(user, "<span class='notice'>You have [anchored ? "" : "un"]fastened the frame [anchored ? "to" : "from"] the floor.</span>")
else if(!reinf)
anchored = !anchored
update_nearby_tiles(need_rebuild=1)
update_nearby_icons()
update_verbs()
playsound(src, W.usesound, 75, 1)