no longer shitcode

This commit is contained in:
CapnMachaddish
2021-01-12 00:59:24 -06:00
parent c79f3a38bc
commit 157c3722ac
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ update_label("John Doe", "Clowny")
if(user.mind.special_role || anyone)
if(alert(user, "Action", "Agent ID", "Show", "Forge") == "Forge")
var/input_name = stripped_input(user, "What name would you like to put on this card? Leave blank to randomise.", "Agent card name", registered_name ? registered_name : (ishuman(user) ? user.real_name : user.name), MAX_NAME_LEN)
input_name = reject_bad_name(input_name)
input_name = reject_bad_name(input_name, TRUE)
if(!input_name)
// Invalid/blank names give a randomly generated one.
if(user.gender == MALE)
+1 -1
View File
@@ -387,7 +387,7 @@
return
if(href_list["Name"])
var/new_name = reject_bad_name(input(usr, "Enter new designation. Set to blank to reset to default.", "Cyborg Debug", src.created_name),1)
var/new_name = reject_bad_name(input(usr, "Enter new designation. Set to blank to reset to default.", "Cyborg Debug", src.created_name), TRUE)
if(!in_range(src, usr) && src.loc != usr)
return
if(new_name)
+1 -1
View File
@@ -133,7 +133,7 @@
switch(choice)
if("name")
var/newname = reject_bad_name(stripped_input(H, "Who are we again?", "Name change", H.name, MAX_NAME_LEN))
var/newname = reject_bad_name(stripped_input(H, "Who are we again?", "Name change", H.name, MAX_NAME_LEN), TRUE)
if(!newname)
return