Adds user logging for emitter deletions + Fixes lobby tab (#14685)

* Adds user logging for emitter deletions

* Fixes something I broke with lobby too
This commit is contained in:
AffectedArc07
2020-10-21 15:16:03 -04:00
committed by GitHub
parent e5f0031d19
commit a6d333ab5e
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -114,6 +114,10 @@
/mob/new_player/Stat()
statpanel("Status")
..()
statpanel("Lobby")
if(client.statpanel=="Lobby" && SSticker)
if(SSticker.hide_mode)
stat("Game Mode:", "Secret")
@@ -141,10 +145,6 @@
if(player.ready)
totalPlayersReady++
..()
statpanel("Lobby")
/mob/new_player/Topic(href, href_list[])
if(!client)
+2 -2
View File
@@ -74,9 +74,9 @@
rotate()
/obj/machinery/power/emitter/Destroy()
msg_admin_attack("Emitter deleted at ([x],[y],[z] - [ADMIN_JMP(src)])", ATKLOG_FEW)
msg_admin_attack("Emitter deleted at ([x],[y],[z] - [ADMIN_JMP(src)]) [usr ? "Broken by [key_name_admin(usr)]" : ""]", ATKLOG_FEW)
log_game("Emitter deleted at ([x],[y],[z])")
investigate_log("<font color='red'>deleted</font> at ([x],[y],[z])","singulo")
investigate_log("<font color='red'>deleted</font> at ([x],[y],[z]) [usr ? "Broken by [key_name(usr)]" : ""]","singulo")
QDEL_NULL(sparks)
return ..()