Strip menu will no longer open when trying to wake sleeping players (#14319)

This commit is contained in:
Vasilis The Pikachu
2023-03-13 04:29:26 +01:00
committed by GitHub
parent a446a49323
commit 65aca01895

View File

@@ -148,10 +148,11 @@ namespace Content.Server.Bed.Sleep
/// </summary>
private void OnInteractHand(EntityUid uid, SleepingComponent component, InteractHandEvent args)
{
args.Handled = true;
if (!TryWakeCooldown(uid))
return;
args.Handled = true;
TryWaking(args.Target, user: args.User);
}