diff --git a/code/modules/admin/verbs/debug_vr.dm b/code/modules/admin/verbs/debug_vr.dm index 62e7710ec63..586bde6e645 100644 --- a/code/modules/admin/verbs/debug_vr.dm +++ b/code/modules/admin/verbs/debug_vr.dm @@ -6,11 +6,15 @@ if(!check_rights(R_FUN)) return - var/mob/living/carbon/human/H = input("Pick a humanoid","Quick NIF") as null|anything in human_mob_list + var/mob/living/carbon/human/H = input("Pick a mob with a player","Quick NIF") as null|anything in player_list if(!H) return + if(!istype(H)) + to_chat(usr,"That mob type ([H.type]) doesn't support NIFs, sorry.") + return + if(!H.get_organ(BP_HEAD)) to_chat(usr,"Target is unsuitable.") return