mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-14 16:46:28 +01:00
Fix glass sheets construction menu
This commit is contained in:
@@ -33,8 +33,8 @@
|
||||
to_chat(user, "<span class='warning'>You must be standing on open flooring to build a window.</span>")
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user