FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.77k stars 408 forks source link

Detonator is ticking at unexpected intervals #15165

Closed Regalis11 closed 4 days ago

Regalis11 commented 1 week ago

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

Originally posted by **zhu-rengong** November 16, 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? I noticed some strange behaviors with the detonator, the flashing light and ticking sound didn't match, so I looked into the code of detonator and found this: ```xml ``` The code expects to hear a ticking sound every 0.2 seconds, but it's ticking very slowly. In addition, after 2 seconds of activation, you hear a continuous detonating sound, but it doesn't detonate the explosive. https://github.com/user-attachments/assets/56281a66-48e3-44bf-8fe9-16ca80a3d222 ### Reproduction steps 1. activate a detonator ### Bug prevalence Happens every now and then ### Single player or multiplayer? Single player ### - _No response_ ### Version v1.6.19.1 (Unto the Breach Update Hotfix 2) ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Regalis11 commented 1 week ago

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