From 878d3597fc2e5390d6d7455406820c118d0f00d2 Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Sat, 10 Jun 2017 03:37:01 -0400 Subject: [PATCH] Quick NIF verb tweak Use this list instead? The other one appears to contain... something else. Or be misaligned or something. --- code/modules/admin/verbs/debug_vr.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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