mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 05:57:24 +01:00
also wormhole jaunter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user