Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

[Unstable] Loop sounds triggered by statuseffect cannot play correctly

Open Regalis11 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14230

Originally posted by zhu-rengong June 28, 2024

Disclaimers

  • [X] I have searched the issue tracker to check if the issue has already been reported.
  • [ ] My issue happened while using mods.

What happened?

Loop sound will stop immediately after playing and keep cycling this.

https://github.com/FakeFishGames/Barotrauma/assets/73634685/236d4189-6f7c-472f-9074-cf2f0ded1e5f

Reproduction steps

Equip respawn diving suit with less than 5% condition

Bug prevalence

Happens every now and then

Single player or multiplayer?

Single player

-

No response

Version

v1.6.100.0 (unstable)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Regalis11 avatar Jun 28 '24 20:06 Regalis11

Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/e2b2c02c839edca59a06eb76adaf2e0e2c842222

Regalis11 avatar Jun 28 '24 21:06 Regalis11

Tested, working correctly. Can be merged and closed.

Rokvach avatar Jul 31 '24 06:07 Rokvach