mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Hide and seek mode (#10251)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b1c76b0c80
commit
3148cdaf8d
@@ -574,3 +574,13 @@
|
||||
return
|
||||
A.flags &= ~(AREA_BLOCK_GHOST_SIGHT)
|
||||
ghostnet.removeArea(A)
|
||||
|
||||
/client/proc/hide_motion_tracker_feedback()
|
||||
set name = "Toggle Motion Echos"
|
||||
set desc = "Hides or reveals motion tracker echos globally."
|
||||
set category = "Admin.Events"
|
||||
|
||||
if(!check_rights(R_ADMIN|R_EVENT))
|
||||
return
|
||||
SSmotiontracker.hide_all = !SSmotiontracker.hide_all
|
||||
log_admin("[key_name(usr)] changed the motion echo visibility to [SSmotiontracker.hide_all ? "hidden" : "visible"].")
|
||||
|
||||
Reference in New Issue
Block a user