Skip to content

Commit

Permalink
Fixed an oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnemotechnician committed Dec 25, 2023
1 parent 64fafb8 commit ca4e6c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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!;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ca4e6c7

Please sign in to comment.