Datum instead of mob

This commit is contained in:
Mars
2018-10-18 19:48:13 +02:00
parent 984339ce42
commit 36979b14f1
+2 -2
View File
@@ -69,8 +69,8 @@
/proc/key_name_admin(whom)
if(whom)
var/mob/whom_mob = whom //As long as it's not null, will be close enough/has the proc UID() that is all that's needed
var/message = "[key_name(whom, 1)]([ADMIN_QUE(whom_mob,"?")])[isAntag(whom) ? "<font color='red'>(A)</font>" : ""][isLivingSSD(whom) ? "<span class='danger'>(SSD!)</span>" : ""] ([admin_jump_link(whom)])"
var/datum/whom_datum = whom //As long as it's not null, will be close enough/has the proc UID() that is all that's needed
var/message = "[key_name(whom, 1)]([ADMIN_QUE(whom_datum,"?")])[isAntag(whom) ? "<font color='red'>(A)</font>" : ""][isLivingSSD(whom) ? "<span class='danger'>(SSD!)</span>" : ""] ([admin_jump_link(whom)])"
return message
/proc/key_name_mentor(whom)