Fixes the cult shifter

This commit is contained in:
Crazylemon64
2017-03-29 21:51:54 -07:00
parent f478d50153
commit 14c34ec1dd
+2 -2
View File
@@ -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, "<span class='danger'>The veil cannot be torn here!</span>")
to_chat(C, "<span class='danger'>The veil cannot be torn here!</span>")