Fix a bunch of logger warnings (#17691)

This commit is contained in:
metalgearsloth
2023-06-27 23:56:52 +10:00
committed by GitHub
parent 4d1ab16ed8
commit 90110183be
31 changed files with 56 additions and 49 deletions

View File

@@ -55,7 +55,7 @@ namespace Content.Shared.Pulling
if (!TryComp<SharedPullerComponent?>(state.Puller.Value, out var comp))
{
Logger.Error($"Pullable state for entity {ToPrettyString(uid)} had invalid puller entity {ToPrettyString(state.Puller.Value)}");
Log.Error($"Pullable state for entity {ToPrettyString(uid)} had invalid puller entity {ToPrettyString(state.Puller.Value)}");
// ensure it disconnects from any different puller, still
ForceDisconnectPullable(component);
return;