Skip to content

Commit

Permalink
A
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisfiregamer1 committed Jan 15, 2025
1 parent 6d5ad7a commit 2566510
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Content.Shared/_Arc/Gilding/ObjectGildedSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using Content.Shared.Stacks;
using Robust.Shared.Network;
using Content.Shared.Mind;
using Robust.Shared.Audio;

namespace Content.Shared._Arc.Admemery
{
Expand All @@ -36,6 +35,8 @@ public sealed class ObjectGildedSystem : EntitySystem

[Dependency] private readonly SharedAudioSystem _audioSystem = default!;

[Dependency] private readonly SharedMindSystem _mind = default!;

private ISawmill _sawmill = default!;

public override void Initialize()
Expand Down Expand Up @@ -121,7 +122,7 @@ private void PostMelt(EntityUid uid, ObjectGildedComponent component, GildedObje

}

if (TryComp<MindComponent>(uid, out var mindComponent))
if (_mind.TryGetMind(uid, out var mindId, out var mind))
{
SoundSpecifier noMoreSound = new SoundPathSpecifier("/Audio/_Arc/no_more.ogg");

Expand Down

0 comments on commit 2566510

Please sign in to comment.