mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +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
@@ -75,7 +75,7 @@
|
||||
set category = "Admin"
|
||||
set name = "Jump to Coordinate"
|
||||
|
||||
if(!check_rights(R_ADMIN))
|
||||
if(!isobserver(usr) && !check_rights(R_ADMIN)) // Only admins can jump without being a ghost
|
||||
return
|
||||
|
||||
var/turf/T = locate(tx, ty, tz)
|
||||
|
||||
Reference in New Issue
Block a user