From 8767f3c8cc8f0f146b06797a8c5b0f1b560e4878 Mon Sep 17 00:00:00 2001 From: FalloutFalcon Date: Thu, 19 Sep 2024 13:43:48 -0500 Subject: [PATCH] ah wrong name for that --- code/__DEFINES/is_helpers.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/__DEFINES/is_helpers.dm b/code/__DEFINES/is_helpers.dm index 3950c75e2880..f872239f49fd 100644 --- a/code/__DEFINES/is_helpers.dm +++ b/code/__DEFINES/is_helpers.dm @@ -10,7 +10,8 @@ #define isgenerator(A) (istype(A, /generator)) -#define isbadpath(A) (A == initial(A.bad_path)) +#define isbadpath(A) (A == initial(A.bad_type)) +#define isbadtype(A) (A.type == A.bad_type) //Turfs //#define isturf(A) (istype(A, /turf)) This is actually a byond built-in. Added here for completeness sake.