added comment

This commit is contained in:
Galactic Chimp
2021-07-31 17:22:08 +02:00
parent b2e40d540f
commit 8ff703c338

View File

@@ -631,7 +631,8 @@ namespace Content.Server.Storage.Components
private void PlaySoundCollection() private void PlaySoundCollection()
{ {
if(StorageSoundCollection.TryGetSound(out var sound)) // TODO this doesn't compile or work
if(StorageSoundCollection?.TryGetSound(out var sound))
SoundSystem.Play(Filter.Pvs(Owner), sound, Owner, AudioParams.Default); SoundSystem.Play(Filter.Pvs(Owner), sound, Owner, AudioParams.Default);
} }
} }