mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
TGUI input box conversions 1 (#63313)
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
change_name(H) //time for a new name!
|
||||
|
||||
/datum/element/spooky/proc/change_name(mob/living/carbon/human/H)
|
||||
var/t = sanitize_name(stripped_input(H, "Enter your new skeleton name", H.real_name, null, MAX_NAME_LEN))
|
||||
var/t = sanitize_name(tgui_input_text(H, "Enter your new skeleton name", "Spookifier", H.real_name, MAX_NAME_LEN))
|
||||
if(!t)
|
||||
t = "spooky skeleton"
|
||||
H.fully_replace_character_name(null, t)
|
||||
|
||||
Reference in New Issue
Block a user