From 3c3541026d725096cb914481ca79827ebf70323c Mon Sep 17 00:00:00 2001 From: Winkarst-cpu <74284083+Winkarst-cpu@users.noreply.github.com> Date: Thu, 22 Aug 2024 19:19:46 +0300 Subject: [PATCH] Make AudioSystem ZOffset public --- Robust.Client/Audio/AudioSystem.cs | 2 +- Robust.Shared/Audio/Systems/SharedAudioSystem.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Robust.Client/Audio/AudioSystem.cs b/Robust.Client/Audio/AudioSystem.cs index 2eabb9fbb24..c260874d23c 100644 --- a/Robust.Client/Audio/AudioSystem.cs +++ b/Robust.Client/Audio/AudioSystem.cs @@ -60,7 +60,7 @@ public sealed partial class AudioSystem : SharedAudioSystem public override float ZOffset { get => _zOffset; - protected set + set { _zOffset = value; _audio.SetZOffset(value); diff --git a/Robust.Shared/Audio/Systems/SharedAudioSystem.cs b/Robust.Shared/Audio/Systems/SharedAudioSystem.cs index 7bed97f5ef3..e6e7a67a8f0 100644 --- a/Robust.Shared/Audio/Systems/SharedAudioSystem.cs +++ b/Robust.Shared/Audio/Systems/SharedAudioSystem.cs @@ -47,7 +47,7 @@ public abstract partial class SharedAudioSystem : EntitySystem /// public int OcclusionCollisionMask { get; set; } - public virtual float ZOffset { get; protected set; } + public virtual float ZOffset { get; set; } public override void Initialize() {