Make all current admin logs use ToPrettyString
This commit is contained in:
@@ -139,10 +139,10 @@ namespace Content.Shared.Verbs
|
||||
// then log with entity information
|
||||
if (used != null)
|
||||
_logSystem.Add(LogType.Verb, verb.Impact,
|
||||
$"{user} {logText} {target} while holding {used}");
|
||||
$"{ToPrettyString(user)} {logText} {ToPrettyString(target)} while holding {ToPrettyString(used.Value)}");
|
||||
else
|
||||
_logSystem.Add(LogType.Verb, verb.Impact,
|
||||
$"{user} {logText} {target}");
|
||||
$"{ToPrettyString(user)} {logText} {ToPrettyString(target)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user