mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
Using ViewVars logs to the runtime log now. This is so it's easier for coders to tell which runtimes were caused by admins rather than normal gameplay.
Decided to add this after one of our admins put a human inside a toilet cistern causing untold mayhem in the runtime log :P git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3938 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -499,6 +499,7 @@ var/list/forbidden_varedit_object_types = list(
|
||||
if("marked datum")
|
||||
O.vars[variable] = holder.marked_datum
|
||||
|
||||
world.log << "<font color='red'>VarEdit by [src]: [O.type] [variable]=[html_encode("[O.vars[variable]]")]</font>"
|
||||
log_admin("[key_name(src)] modified [original_name]'s [variable] to [O.vars[variable]]")
|
||||
message_admins("[key_name_admin(src)] modified [original_name]'s [variable] to [O.vars[variable]]", 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user