mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
More Input Conversion
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
/obj/structure/ladder_assembly/attackby(obj/item/W, mob/user)
|
||||
if(istype(W, /obj/item/weapon/pen))
|
||||
var/t = sanitizeSafe(input(user, "Enter the name for the ladder.", "Ladder Name", src.created_name), MAX_NAME_LEN)
|
||||
var/t = sanitizeSafe(tgui_input_text(user, "Enter the name for the ladder.", "Ladder Name", src.created_name, MAX_NAME_LEN), MAX_NAME_LEN)
|
||||
if(in_range(src, user))
|
||||
created_name = t
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user