Positional audio for Monkey Cubes. (#6982)
This commit is contained in:
parent
f2b1fd2f25
commit
0f599ad160
|
|
@ -48,7 +48,7 @@ namespace Content.Server.Storage.EntitySystems
|
|||
}
|
||||
|
||||
if (component.Sound != null)
|
||||
SoundSystem.Play(Filter.Pvs(uid), component.Sound.GetSound());
|
||||
SoundSystem.Play(Filter.Pvs(uid), component.Sound.GetSound(), uid);
|
||||
|
||||
component.Uses--;
|
||||
if (component.Uses == 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue