From fa5e1947a4d17d5f53211f06559475bdad057262 Mon Sep 17 00:00:00 2001 From: Ghommie Date: Sun, 7 Jul 2019 01:17:41 +0200 Subject: [PATCH] pet peeve. --- code/modules/mob/transform_procs.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/transform_procs.dm b/code/modules/mob/transform_procs.dm index 5ce5ed8e04..fcd670543c 100644 --- a/code/modules/mob/transform_procs.dm +++ b/code/modules/mob/transform_procs.dm @@ -532,7 +532,7 @@ /mob/living/carbon/human/Animalize(mind_transfer = TRUE) var/list/mobtypes = typesof(/mob/living/simple_animal) - var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") in mobtypes|null + var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") as null|anything in mobtypes if(!mobpath) return if(mind) @@ -567,7 +567,7 @@ /mob/proc/Animalize(mind_transfer = TRUE) var/list/mobtypes = typesof(/mob/living/simple_animal) - var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") in mobtypes|null + var/mobpath = input("Which type of mob should [src] turn into?", "Choose a type") as null|anything in mobtypes if(!mobpath) return if(mind)