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!")