Admins can no longer jump to people while in the lobby. (#8245)

This commit is contained in:
Matt Atlas
2020-02-11 16:30:39 +01:00
committed by GitHub
parent a54250fa5e
commit 58aa30838e

View File

@@ -8,8 +8,12 @@
set name = "Jump to Area"
set desc = "Area to jump to"
set category = "Admin"
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
return
if(istype(usr, /mob/abstract/new_player))
return
if(config.allow_admin_jump)
usr.on_mob_jump()
@@ -24,8 +28,13 @@
/client/proc/jumptoturf(var/turf/T in turfs)
set name = "Jump to Turf"
set category = "Admin"
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
return
if(isnewplayer(usr))
return
if(config.allow_admin_jump)
log_admin("[key_name(usr)] jumped to [T.x],[T.y],[T.z] in [T.loc]",admin_key=key_name(usr))
message_admins("[key_name_admin(usr)] jumped to [T.x],[T.y],[T.z] in [T.loc]", 1)
@@ -43,6 +52,9 @@
if(!check_rights(R_ADMIN|R_MOD|R_DEBUG|R_DEV))
return
if(isnewplayer(usr))
return
if(config.allow_admin_jump)
log_admin("[key_name(usr)] jumped to [key_name(M)]", admin_key=key_name(usr),ckey=key_name(M))
message_admins("[key_name_admin(usr)] jumped to [key_name_admin(M)]", 1)