This commit is contained in:
Kyep
2018-07-07 16:15:26 -07:00
parent f7b0e03fc2
commit c3ed490159
2 changed files with 3 additions and 3 deletions
@@ -109,7 +109,7 @@ Frequency:
/obj/item/hand_tele/attack_self(mob/user as mob)
var/turf/current_location = get_turf(user)//What turf is the user on?
var/area/current_area = get_area(user)
if(!current_location||!is_teleport_allowed(current_location.z) || current_area.tele_proof)//If turf was not found or they're somewhere teleproof
if(!current_location || !is_teleport_allowed(current_location.z) || current_area.tele_proof)//If turf was not found or they're somewhere teleproof
to_chat(user, "<span class='notice'>\The [src] is malfunctioning.</span>")
return