mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
Fix bugs!
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
/obj/structure/low_wall/LateInitialize()
|
||||
. = ..()
|
||||
update_connections()
|
||||
update_connections(1)
|
||||
update_icon()
|
||||
|
||||
/obj/structure/low_wall/Destroy()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user