Adds linting support to SoundCollectionPrototype, fix linter errors.

Closes #4580
This commit is contained in:
Vera Aguilera Puerto
2021-10-01 12:40:44 +02:00
parent ac9f0b39b0
commit 47107c6a42
13 changed files with 17 additions and 16 deletions

View File

@@ -126,7 +126,7 @@ namespace Content.Client.Audio
private void StartAmbience()
{
EndAmbience();
var file = _robustRandom.Pick(_ambientCollection.PickFiles);
var file = _robustRandom.Pick(_ambientCollection.PickFiles).ToString();
_ambientStream = SoundSystem.Play(Filter.Local(), file, _ambientParams);
}