Strip menu will no longer open when trying to wake sleeping players (#14319)
This commit is contained in:
committed by
GitHub
parent
a446a49323
commit
65aca01895
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user