Fix playglobalsound volume (#8208)
This commit is contained in:
@@ -52,6 +52,13 @@ public sealed class PlayGlobalSound : IConsoleCommand
|
||||
return;
|
||||
}
|
||||
|
||||
// No users specified so play for them all.
|
||||
if (args.Length == 2)
|
||||
{
|
||||
filter = Filter.Empty().AddAllPlayers(_playerManager);
|
||||
}
|
||||
else
|
||||
{
|
||||
filter = Filter.Empty();
|
||||
|
||||
// Skip the first argument, which is the sound path.
|
||||
@@ -67,6 +74,8 @@ public sealed class PlayGlobalSound : IConsoleCommand
|
||||
|
||||
filter.AddPlayer(session);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user