From cbb56b0546360ad2950c519f1214b166b4e86ee5 Mon Sep 17 00:00:00 2001 From: Neerti Date: Mon, 22 Apr 2019 00:28:27 -0400 Subject: [PATCH] Merge pull request #6124 from Heroman3003/window-message-fix Fixes message on window frame fastening --- code/game/objects/structures/window.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 68930cdb78..cc3bcf1648 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -268,7 +268,7 @@ state = 3 - state update_nearby_icons() playsound(src, W.usesound, 75, 1) - to_chat(user, "You have [state ? "un" : ""]fastened the window [state ? "from" : "to"] the frame.") + to_chat(user, "You have [state == 1 ? "un" : ""]fastened the window [state ? "from" : "to"] the frame.") else if(reinf && state == 0) anchored = !anchored update_nearby_icons()