From 14c34ec1ddece98cc040dab3da469ae876b7034b Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Wed, 29 Mar 2017 21:51:54 -0700 Subject: [PATCH] Fixes the cult shifter --- code/game/gamemodes/cult/cult_items.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm index bf6ce4ade07..e5c11ac387d 100644 --- a/code/game/gamemodes/cult/cult_items.dm +++ b/code/game/gamemodes/cult/cult_items.dm @@ -300,7 +300,7 @@ var/turf/mobloc = get_turf(C) var/list/turfs = new/list() for(var/turf/T in range(user, outer_tele_radius)) - if(!is_teleport_allowed(T)) + if(!is_teleport_allowed(T.z)) continue if(get_dir(C, T) != C.dir) continue @@ -333,4 +333,4 @@ playsound(destination, "sparks", 50, 1) else - to_chat(C, "The veil cannot be torn here!") \ No newline at end of file + to_chat(C, "The veil cannot be torn here!")