Fixing some wizard den teleportation issues.

This commit is contained in:
Ghommie
2019-11-18 02:04:49 +01:00
parent d9b24b20d1
commit ec4e3898eb
2 changed files with 11 additions and 5 deletions
@@ -383,7 +383,9 @@
if(!istype(user) || on_cooldown)
return
var/turf/T = get_turf(user)
if(!T)
var/area/A = get_area(user)
if(!T || !A || A.noteleport)
to_chat(user, "<span class='warning'>You play \the [src], yet no sound comes out of it... Looks like it won't work here.</span>")
return
on_cooldown = TRUE
last_user = user