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:
elly1989@rocketmail.com
2012-06-28 20:46:36 +00:00
parent a2c5a0f15b
commit f1e66b05a9

View File

@@ -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)