From 58ac42145ae8a855b87746e29bb3bf6a4ec49134 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Mon, 18 Dec 2023 05:20:29 +0100 Subject: [PATCH] generalized the blaclists, too --- code/modules/awaymissions/redgate.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/awaymissions/redgate.dm b/code/modules/awaymissions/redgate.dm index 050f638d6d..c2de8cf370 100644 --- a/code/modules/awaymissions/redgate.dm +++ b/code/modules/awaymissions/redgate.dm @@ -36,7 +36,7 @@ else return - if(M.type in restrictions) //Some stuff we don't want to bring EVEN IF it has a key. + if(is_type_in_list(M, restrictions)) //Some stuff we don't want to bring EVEN IF it has a key. return for(var/obj/O in M.contents) @@ -61,7 +61,7 @@ M.forceMove(ourturf) if(is_type_in_list(pulled, exceptions)) for(var/mob/living/buckled_on in pulled.buckled_mobs) - if(!buckled_on.key || (buckled_on.type in restrictions)) + if(!buckled_on.key || is_type_in_list(M, restrictions)) pulled.unbuckle_mob(buckled_on, TRUE) pulled.forceMove(ourturf) M.continue_pulling(pulled)