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