mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Update buildmode.dm (#31655)
This commit is contained in:
@@ -233,8 +233,9 @@ var/global/list/obj/effect/bmode/buildholder/buildmodeholders = list()
|
||||
var/partial_type = input(usr, "Enter type, or leave blank to see all types", "Typepath", "/obj/structure/closet") as text|null
|
||||
if(isnull(partial_type))
|
||||
return
|
||||
|
||||
objholder = filter_list_input("Select type", "Typepath", get_matching_types(partial_type, /atom))
|
||||
|
||||
var/list/matches = get_matching_types(partial_type, /atom)
|
||||
objholder = input("Select type", "Typepath") as null|anything in matches
|
||||
|
||||
if(!ispath(objholder))
|
||||
objholder = /obj/structure/closet
|
||||
|
||||
Reference in New Issue
Block a user