From 8d8b12edc278811631399bc9adfc32957bc6bc7b Mon Sep 17 00:00:00 2001 From: Heroman Date: Sun, 21 Apr 2019 11:08:53 +1000 Subject: [PATCH] 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 7205e4e30f..e1eba7ece7 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -267,7 +267,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()