From 3dcfe0d850985cbb0eb7fe238c316b778ee2ddc7 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Mon, 19 Aug 2024 04:41:27 +0200 Subject: [PATCH] fix mice and revs being able to toggle suit pieces (#31152) --- .../Clothing/EntitySystems/ToggleableClothingSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Clothing/EntitySystems/ToggleableClothingSystem.cs b/Content.Shared/Clothing/EntitySystems/ToggleableClothingSystem.cs index aa3381c6bf..c63dfb5901 100644 --- a/Content.Shared/Clothing/EntitySystems/ToggleableClothingSystem.cs +++ b/Content.Shared/Clothing/EntitySystems/ToggleableClothingSystem.cs @@ -57,7 +57,7 @@ public sealed class ToggleableClothingSystem : EntitySystem private void OnGetVerbs(EntityUid uid, ToggleableClothingComponent component, GetVerbsEvent args) { - if (!args.CanAccess || !args.CanInteract || component.ClothingUid == null || component.Container == null) + if (!args.CanAccess || !args.CanInteract || args.Hands == null || component.ClothingUid == null || component.Container == null) return; var text = component.VerbText ?? (component.ActionEntity == null ? null : Name(component.ActionEntity.Value)); -- 2.51.2