fix ServerPlaySound

This commit is contained in:
AzaezelX 2021-12-16 18:25:14 -06:00
parent f88e82c099
commit 7c32abd026

View file

@ -43,5 +43,5 @@ function ServerPlaySound(%profile,%pos)
// Play the given sound profile at the given position on every client
// The sound will be transmitted as an event, not attached to any object.
for(%idx = 0; %idx < ClientGroup.getCount(); %idx++)
commandToClient(ClientGroup.getObject(%idx), PlaySound, %pos);
commandToClient(ClientGroup.getObject(%idx), 'PlaySound',%profile, %pos);
}