Ambient sound performance improvements (#12756)

This commit is contained in:
Leon Friedrich
2022-11-28 14:10:40 +13:00
committed by GitHub
parent cd6d4cb83c
commit 8ec2a9ec74
2 changed files with 84 additions and 102 deletions

View File

@@ -48,7 +48,7 @@ namespace Content.Shared.CCVar
/// How large of a range to sample for ambience.
/// </summary>
public static readonly CVarDef<float> AmbientRange =
CVarDef.Create("ambience.range", 5f, CVar.REPLICATED | CVar.SERVER);
CVarDef.Create("ambience.range", 8f, CVar.REPLICATED | CVar.SERVER);
/// <summary>
/// Maximum simultaneous ambient sounds.