mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-29 00:59:39 +00:00
Merge pull request #711 from Azaezel/alpha40/audioWork
fix ServerPlaySound
This commit is contained in:
commit
d9bedbe31c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue