mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Makes JMP usable by people other than admins if they are already a ghost (#15195)
Co-authored-by: joep van der velden <15887760+farie82@users.noreply.github.com>
This commit is contained in:
co-authored by
joep van der velden
parent
3fea48ce07
commit
cdbc13d5fd
@@ -1875,14 +1875,16 @@
|
||||
log_admin("Admin [key_name_admin(usr)] has unlocked the Cult's ability to summon Nar'Sie.")
|
||||
|
||||
else if(href_list["adminplayerobservecoodjump"])
|
||||
if(!check_rights(R_ADMIN)) return
|
||||
var/client/C = usr.client
|
||||
if(!isobserver(usr))
|
||||
if(!check_rights(R_ADMIN)) // Need to be admin to aghost
|
||||
return
|
||||
C.admin_ghost()
|
||||
|
||||
var/x = text2num(href_list["X"])
|
||||
var/y = text2num(href_list["Y"])
|
||||
var/z = text2num(href_list["Z"])
|
||||
|
||||
var/client/C = usr.client
|
||||
if(!isobserver(usr)) C.admin_ghost()
|
||||
sleep(2)
|
||||
C.jumptocoord(x,y,z)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user