also wormhole jaunter

This commit is contained in:
Kyep
2018-08-02 09:38:20 -07:00
parent b6fdcff5e2
commit de9e5197f6
+2 -1
View File
@@ -620,7 +620,8 @@
/obj/item/wormhole_jaunter/attack_self(mob/user)
var/turf/device_turf = get_turf(user)
if(!device_turf || !is_teleport_allowed(device_turf.z))
var/area/current_area = get_area(device_turf)
if(!device_turf || !is_teleport_allowed(device_turf.z) || current_area.tele_proof)
to_chat(user, "<span class='notice'>You're having difficulties getting the [src.name] to work.</span>")
return
else