diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index eac25dc837e..acd0a4585a4 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -947,7 +947,7 @@ datum/preferences switch(href_list["preference"]) if("name") var/raw_name = input(user, "Choose your character's name:", "Character Preference") as text|null - if (raw_name) // Check to ensure that the user entered text (rather than cancel.) + if (!isnull(raw_name)) // Check to ensure that the user entered text (rather than cancel.) var/new_name = reject_bad_name(raw_name) if(new_name) real_name = new_name