Don't log resolve for waking (#13435)

This commit is contained in:
metalgearsloth
2023-01-18 19:56:33 +11:00
committed by GitHub
parent 9f7335559e
commit 222e011006

View File

@@ -213,7 +213,7 @@ namespace Content.Server.Bed.Sleep
/// </summary> /// </summary>
public bool TryWaking(EntityUid uid, SleepingComponent? component = null, bool force = false, EntityUid? user = null) public bool TryWaking(EntityUid uid, SleepingComponent? component = null, bool force = false, EntityUid? user = null)
{ {
if (!Resolve(uid, ref component)) if (!Resolve(uid, ref component, false))
return false; return false;
if (!force && HasComp<ForcedSleepingComponent>(uid)) if (!force && HasComp<ForcedSleepingComponent>(uid))