]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix sound on material reclaimer (#21030)
authorShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Mon, 16 Oct 2023 05:30:35 +0000 (22:30 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Oct 2023 05:30:35 +0000 (23:30 -0600)
commitc20bf50f4039bd6ba422dd35e910d10f410d1a85
tree3ce04400c2af5c39312505f2b8638079d4ea1f13
parente40172e07b3838322c0e646588ef64e36b5cb933
Fix sound on material reclaimer (#21030)

* Fix saw sound error on client

The sound tried to play using shared PlayPvs which doesn't work on client. PlayPredicted handles client and server.

Fixed NextSound not playing again while continuously gibbing items.

* Fix duplicate splat sound on Recycler gibbing
Content.Server/Materials/MaterialReclaimerSystem.cs
Content.Shared/Materials/SharedMaterialReclaimerSystem.cs