mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 23:23:47 +00:00
fix ServerPlaySound
This commit is contained in:
parent
f88e82c099
commit
7c32abd026
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