mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 17:14:47 +01:00
Log status display changes (#72762)
## About The Pull Request Changing the status displays creates an entry in game.log of who did it, and from where. ## Why It's Good For The Game Seeing "LOL PENIS" on the status displays with no way to track it gets old after a while. ## Changelog 🆑 LT3 admin: Changing the station status displays now generates a log entry /🆑
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
*/
|
||||
/datum/computer_file/program/status/proc/post_message(upper, lower)
|
||||
post_status("message", upper, lower)
|
||||
log_game("[key_name(usr)] has changed the station status display message to \"[upper] [lower]\" [loc_name(usr)]")
|
||||
|
||||
/**
|
||||
* Post a picture to status displays
|
||||
@@ -59,6 +60,8 @@
|
||||
else
|
||||
post_status("alert", picture)
|
||||
|
||||
log_game("[key_name(usr)] has changed the station status display message to \"[picture]\" [loc_name(usr)]")
|
||||
|
||||
/datum/computer_file/program/status/ui_act(action, list/params, datum/tgui/ui)
|
||||
. = ..()
|
||||
if(.)
|
||||
|
||||
Reference in New Issue
Block a user