Fixes message on window frame fastening

This commit is contained in:
Heroman
2019-04-21 11:08:53 +10:00
parent d8b2c0f33a
commit 8d8b12edc2
+1 -1
View File
@@ -267,7 +267,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()