mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
Adds logging and admin announce to admin ghosting.
This commit is contained in:
@@ -314,6 +314,9 @@ var/list/admin_verbs_hideable = list(
|
||||
if(istype(mob,/mob/dead/observer))
|
||||
//re-enter
|
||||
var/mob/dead/observer/ghost = mob
|
||||
if (!ghost.can_reenter_corpse)
|
||||
log_admin("[key_name(usr)] re-entered corpse")
|
||||
message_admins("[key_name_admin(usr)] re-entered corpse")
|
||||
ghost.can_reenter_corpse = 1 //just in-case.
|
||||
ghost.reenter_corpse()
|
||||
feedback_add_details("admin_verb","P") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
@@ -321,6 +324,8 @@ var/list/admin_verbs_hideable = list(
|
||||
src << "<font color='red'>Error: Aghost: Can't admin-ghost whilst in the lobby. Join or Observe first.</font>"
|
||||
else
|
||||
//ghostize
|
||||
log_admin("[key_name(usr)] admin ghosted")
|
||||
message_admins("[key_name_admin(usr)] admin ghosted")
|
||||
var/mob/body = mob
|
||||
body.ghostize(1)
|
||||
if(body && !body.key)
|
||||
@@ -636,4 +641,4 @@ var/list/admin_verbs_hideable = list(
|
||||
mob = new/mob/living/carbon/human/interactive(tile)
|
||||
|
||||
testing("Spawned test mob with name \"[mob.name]\" at [tile.x],[tile.y],[tile.z]")
|
||||
while (!area && --j > 0)
|
||||
while (!area && --j > 0)
|
||||
|
||||
Reference in New Issue
Block a user