You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespaceRobust.Client.Audio;publicsealedpartialclassAudioSystem:SharedAudioSystem...
public override floatZOffset{get=>_zOffset;set{_zOffset=value;_audio.SetZOffset(value);varquery=AllEntityQuery<AudioComponent>();while(query.MoveNext(outvaraudio)){// Pythagoras back to normal then adjust.varmaxDistance=GetAudioDistance(audio.Params.MaxDistance);varrefDistance=GetAudioDistance(audio.Params.ReferenceDistance);audio.MaxDistance=maxDistance;audio.ReferenceDistance=refDistance;}}}
Or another alternative, by making partial class AudioSystem.Public with SetZOffset public method
This issue space-wizards/space-station-14#21946
To make it possible, the Robust.Client AudioSystem should have ZOffset public set.
Or another alternative, by making partial class
AudioSystem.Public
with SetZOffset public methodThe text was updated successfully, but these errors were encountered: