Fixes appearance bans

Changes check antag (ghost) to (no client)
This commit is contained in:
Shadowlight213
2016-05-20 19:53:54 -07:00
parent be7c09bf39
commit c793555f89
5 changed files with 56 additions and 130 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ var/list/preferences_datums = list()
dat += "<a href='?_src_=prefs;preference=job;task=menu'>Set Occupation Preferences</a><br></center>"
dat += "<h2>Identity</h2>"
dat += "<table width='100%'><tr><td width='75%' valign='top'>"
if(appearance_isbanned(user))
if(jobban_isbanned(user, "appearance"))
dat += "<b>You are banned from using custom names and appearances. You can continue to adjust your characters, but you will be randomised once you join the game.</b><br>"
dat += "<a href='?_src_=prefs;preference=name;task=random'>Random Name</A> "
dat += "<a href='?_src_=prefs;preference=name'>Always Random Name: [be_random_name ? "Yes" : "No"]</a><BR>"