Don't log resolve for waking (#13435)
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user