From d70bfa6eefda366a3bb15bd22cb67ade658230a8 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Mon, 5 Jul 2021 18:16:20 -0400 Subject: [PATCH] Fix glass sheets construction menu --- code/modules/materials/materials/glass.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/materials/materials/glass.dm b/code/modules/materials/materials/glass.dm index 0327f34340..6ce5434bcf 100644 --- a/code/modules/materials/materials/glass.dm +++ b/code/modules/materials/materials/glass.dm @@ -33,8 +33,8 @@ to_chat(user, "You must be standing on open flooring to build a window.") return 1 - var/title = "Sheet-[used_stack.name] ([used_stack.get_amount()] sheet\s left)" - var/choice = tgui_input_list(title, "What would you like to construct?", "Window Selection", window_options) + var/message = "Sheet-[used_stack.name] ([used_stack.get_amount()] sheet\s left)" + var/choice = tgui_input_list(user, message, "Window Construction", window_options) if(!choice || !used_stack || !user || used_stack.loc != user || user.stat || user.loc != T) return 1