Airlock assembly naming window starts with base_name

This commit is contained in:
atermonera
2022-08-31 22:39:12 -08:00
parent 05184cb02a
commit d134de0479
@@ -157,7 +157,7 @@
bound_height = width * world.icon_size
/obj/structure/door_assembly/proc/rename_door(mob/living/user)
var/t = sanitizeSafe(input(user, "Enter the name for the windoor.", src.name, src.created_name), MAX_NAME_LEN)
var/t = sanitizeSafe(input(user, "Enter the name for the [base_name].", src.name, src.created_name), MAX_NAME_LEN)
if(!in_range(src, user) && src.loc != user) return
created_name = t
update_state()