From 7381df4335639d1a1c918fb76f38c7cbd451a3fb Mon Sep 17 00:00:00 2001 From: Scribbles0 <91828755+Scribbles0@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:47:07 -0700 Subject: [PATCH] Handless mobs can no longer wipe devices (#30149) add check for hands --- Content.Server/Ghost/Roles/ToggleableGhostRoleSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Ghost/Roles/ToggleableGhostRoleSystem.cs b/Content.Server/Ghost/Roles/ToggleableGhostRoleSystem.cs index 8354a24f90..64e46bb608 100644 --- a/Content.Server/Ghost/Roles/ToggleableGhostRoleSystem.cs +++ b/Content.Server/Ghost/Roles/ToggleableGhostRoleSystem.cs @@ -96,7 +96,7 @@ private void UpdateAppearance(EntityUid uid, ToggleableGhostRoleStatus status) private void AddWipeVerb(EntityUid uid, ToggleableGhostRoleComponent component, GetVerbsEvent args) { - if (!args.CanAccess || !args.CanInteract) + if (args.Hands == null || !args.CanAccess || !args.CanInteract) return; if (TryComp(uid, out var mind) && mind.HasMind)