mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-26 14:17:12 +01:00
Stops TK users from teleport to a pole.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user