redundant safety check

This commit is contained in:
Putnam3145
2022-08-27 18:33:42 -07:00
parent b2666019bc
commit 7cc55cbc97
+1 -1
View File
@@ -173,7 +173,7 @@ Turf and target are separate in case you want to teleport some distance from a t
var/banned = jobban_isbanned(src, "appearance")
if(C && C.prefs.custom_names[role] && !safety && !banned)
if(C?.prefs?.custom_names[role] && !banned)
newname = C.prefs.custom_names[role]
else
while(loop && safety < 5)