Stops TK users from teleport to a pole.

This commit is contained in:
Casper
2023-01-14 22:37:52 +00:00
parent 2ecf7406ba
commit e676baff0e
@@ -16,6 +16,11 @@
. = ..()
if(.)
return
// Don't teleport telekinetic users to the pole.
if (get_dist(src,user) > 1)
return
if(obj_flags & IN_USE)
to_chat(user, "It's already in use - wait a bit.")
return