Merge pull request #6124 from Heroman3003/window-message-fix

Fixes message on window frame fastening
This commit is contained in:
Neerti
2019-04-22 00:28:27 -04:00
committed by VirgoBot
parent f507d4a26f
commit cbb56b0546
+1 -1
View File
@@ -268,7 +268,7 @@
state = 3 - state
update_nearby_icons()
playsound(src, W.usesound, 75, 1)
to_chat(user, "<span class='notice'>You have [state ? "un" : ""]fastened the window [state ? "from" : "to"] the frame.</span>")
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_icons()