- fix: Bugfixes (#18)

* - fix: Fix huds.

* - fix: Cult icon fix

* - fix: Fix terminator missing dead threshold

* - fix: Fix clown ComicSans font

* - fix: Fix airlock missing rsi states

* - fix: Fix double storage removal sound

* - fix: Fix emote
This commit is contained in:
Aviu00
2024-02-02 14:01:41 +09:00
committed by GitHub
parent 876bd21bd2
commit d356aeefff
18 changed files with 67 additions and 44 deletions

View File

@@ -6,7 +6,6 @@ using Content.Shared.Popups;
using Content.Shared.Sound.Components;
using Content.Shared.Throwing;
using Content.Shared._White.EndOfRoundStats.EmitSoundStatSystem;
using Content.Shared._White.Sounds;
using JetBrains.Annotations;
using Robust.Shared.Audio;
using Robust.Shared.Audio.Systems;
@@ -44,9 +43,6 @@ public abstract class SharedEmitSoundSystem : EntitySystem
SubscribeLocalEvent<EmitSoundOnPickupComponent, GotEquippedHandEvent>(OnEmitSoundOnPickup);
SubscribeLocalEvent<EmitSoundOnDropComponent, DroppedEvent>(OnEmitSoundOnDrop);
// WD edit
SubscribeLocalEvent<EmitSoundOnPickupComponent, GotRemovedEvent>(EmitSoundOnGotRemoved);
SubscribeLocalEvent<EmitSoundOnCollideComponent, EntityUnpausedEvent>(OnEmitSoundUnpaused);
SubscribeLocalEvent<EmitSoundOnCollideComponent, StartCollideEvent>(OnEmitSoundOnCollide);
}
@@ -103,12 +99,6 @@ public abstract class SharedEmitSoundSystem : EntitySystem
TryEmitSound(uid, component, args.User);
}
// WD edit
private void EmitSoundOnGotRemoved(EntityUid uid, EmitSoundOnPickupComponent component, GotRemovedEvent args)
{
TryEmitSound(uid, component, args.User, false);
}
private void OnEmitSoundOnDrop(EntityUid uid, EmitSoundOnDropComponent component, DroppedEvent args)
{
TryEmitSound(uid, component, args.User);