Make all current admin logs use ToPrettyString

This commit is contained in:
Vera Aguilera Puerto
2021-12-11 16:00:10 +01:00
parent 8239d392d4
commit f6371c6e62
23 changed files with 47 additions and 47 deletions

View File

@@ -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)}");
}
}
}