From ca4e6c714679ed42bbe143dc3c1580dc672f33c1 Mon Sep 17 00:00:00 2001 From: fox Date: Tue, 26 Dec 2023 01:18:53 +0300 Subject: [PATCH] Fixed an oopsie --- ...undEmittingClothingSystem.cs => EmitsSoundOnMoveSystem.cs} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Content.Shared/_NF/Clothing/Systems/{SoundEmittingClothingSystem.cs => EmitsSoundOnMoveSystem.cs} (96%) diff --git a/Content.Shared/_NF/Clothing/Systems/SoundEmittingClothingSystem.cs b/Content.Shared/_NF/Clothing/Systems/EmitsSoundOnMoveSystem.cs similarity index 96% rename from Content.Shared/_NF/Clothing/Systems/SoundEmittingClothingSystem.cs rename to Content.Shared/_NF/Clothing/Systems/EmitsSoundOnMoveSystem.cs index 7e7c6cfad76..d6ca71121b0 100644 --- a/Content.Shared/_NF/Clothing/Systems/SoundEmittingClothingSystem.cs +++ b/Content.Shared/_NF/Clothing/Systems/EmitsSoundOnMoveSystem.cs @@ -10,7 +10,7 @@ namespace Content.Shared._NF.Clothing.Systems; -public sealed class SoundEmittingClothingSystem : EntitySystem +public sealed class EmitsSoundOnMoveSystem : EntitySystem { [Dependency] private readonly SharedAudioSystem _audio = default!; [Dependency] private readonly SharedMapSystem _grid = default!; @@ -53,7 +53,7 @@ private void UpdateSound(EntityUid uid, EmitsSoundOnMoveComponent component) if (component.RequiresGravity && _gravity.IsWeightless(uid, physics, xform)) return; -a var parent = xform.ParentUid; + var parent = xform.ParentUid; var isWorn = parent is { Valid: true } && _clothingQuery.TryGetComponent(uid, out var clothing) && clothing.InSlot != null;