Agent ID can no longer set IC banned words. (#52234)

This commit is contained in:
skoglol
2020-07-15 22:23:13 +08:00
committed by GitHub
parent 813c61df42
commit 2f8a4793db
+1 -1
View File
@@ -382,7 +382,7 @@ update_label()
return
if(popup_input == "Forge/Reset" && !forged)
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 = sanitize_name(input_name)
if(!input_name)
// Invalid/blank names give a randomly generated one.
if(user.gender == MALE)