mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
add logging for ghosting (incl. special log for admin ghosting) (#34974)
* add logging for admin ghosting * spacing * better ghost logging implementation * remove worse implementation of ghost logging
This commit is contained in:
@@ -383,6 +383,7 @@ Works together with spawning an observer, noted above.
|
|||||||
|
|
||||||
/mob/proc/ghostize(var/flags = GHOST_CAN_REENTER,var/deafmute = 0)
|
/mob/proc/ghostize(var/flags = GHOST_CAN_REENTER,var/deafmute = 0)
|
||||||
if(key && !(copytext(key,1,2)=="@"))
|
if(key && !(copytext(key,1,2)=="@"))
|
||||||
|
log_admin("[key_name(src)] is now a[src.client.holder ? "n admin-" : " "]ghost.")
|
||||||
var/ghostype = /mob/dead/observer
|
var/ghostype = /mob/dead/observer
|
||||||
if (deafmute)
|
if (deafmute)
|
||||||
ghostype = /mob/dead/observer/deafmute
|
ghostype = /mob/dead/observer/deafmute
|
||||||
|
|||||||
Reference in New Issue
Block a user