Revert "Update submodule to 175.0.0 (#21318)" (#21319)

This commit is contained in:
metalgearsloth
2023-10-29 15:29:30 +11:00
committed by GitHub
parent 4f6ea2aef6
commit 5b8f3c48c4
327 changed files with 437 additions and 891 deletions

View File

@@ -33,8 +33,6 @@ public sealed partial class EmaggableMedibotComponent : Component
/// <summary>
/// Sound to play when the bot has been emagged
/// </summary>
[DataField("sparkSound")] public SoundSpecifier SparkSound = new SoundCollectionSpecifier("sparks")
{
Params = AudioParams.Default.WithVolume(8f),
};
[DataField("sparkSound")]
public SoundSpecifier SparkSound = new SoundCollectionSpecifier("sparks");
}

View File

@@ -1,6 +1,5 @@
using Content.Shared.Emag.Systems;
using Robust.Shared.Audio;
using Robust.Shared.Audio.Systems;
namespace Content.Shared.Silicons.Bots;
@@ -23,7 +22,7 @@ public sealed class MedibotSystem : EntitySystem
if (!TryComp<MedibotComponent>(uid, out var medibot))
return;
_audio.PlayPredicted(comp.SparkSound, uid, args.UserUid);
_audio.PlayPredicted(comp.SparkSound, uid, args.UserUid, AudioParams.Default.WithVolume(8));
medibot.StandardMed = comp.StandardMed;
medibot.StandardMedAmount = comp.StandardMedAmount;