From d21bcbd72566b92f3ead0bd2e5e4e0d8135dc5e4 Mon Sep 17 00:00:00 2001 From: Milon Date: Fri, 20 Sep 2024 02:53:57 +0200 Subject: [PATCH] fixed random shit from my doing of random shit --- Content.Shared/Movement/Systems/SharedMoverController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Movement/Systems/SharedMoverController.cs b/Content.Shared/Movement/Systems/SharedMoverController.cs index 079b175c116..b4d28acece6 100644 --- a/Content.Shared/Movement/Systems/SharedMoverController.cs +++ b/Content.Shared/Movement/Systems/SharedMoverController.cs @@ -433,7 +433,7 @@ private bool TryGetSound( } // DeltaV - Don't play the sound if they have no shoes and the component - if (NoShoesSilentQuery.TryComp(uid, out var _) & + if (NoShoesSilentQuery.HasComp(uid) & !_inventory.TryGetSlotEntity(uid, "shoes", out var _)) { return false;