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