Fix playglobalsound with a volume parameter being too loud (#13421)
This commit is contained in:
parent
b5ff3cad17
commit
333ee3edcc
|
|
@ -76,7 +76,7 @@ public sealed class ServerGlobalSoundSystem : SharedGlobalSoundSystem
|
|||
public void PlayGlobalSoundCommand(IConsoleShell shell, string argStr, string[] args)
|
||||
{
|
||||
Filter filter;
|
||||
var audio = AudioParams.Default.WithVolume(-8);
|
||||
var audio = AudioParams.Default;
|
||||
|
||||
bool replay = true;
|
||||
|
||||
|
|
@ -139,6 +139,7 @@ public sealed class ServerGlobalSoundSystem : SharedGlobalSoundSystem
|
|||
break;
|
||||
}
|
||||
|
||||
audio = audio.AddVolume(-8);
|
||||
PlayAdminGlobal(filter, args[0], audio, replay);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue