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.67k stars 394 forks source link

Opened hatches/doors do not cast shadow when closed #14065

Open Regalis11 opened 1 month ago

Regalis11 commented 1 month ago

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

Originally posted by **SomeRandomNoobKekeke** April 24, 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? If sub was saved with an opened hatch/door all nearby shadow casting lights will consider it open forever and it won't cast shadow Yes, it can happen between rounds Probably related https://github.com/FakeFishGames/Barotrauma/issues/12087 It probably won't hurt performance to make it "unhidden" once per round https://github.com/FakeFishGames/Barotrauma/assets/122838333/a23957d1-bd2b-4ed5-ab10-26586f7ae5e3 https://github.com/FakeFishGames/Barotrauma/assets/122838333/99da28a4-8e2a-40e4-882d-7ecbf0c60f4d ### Reproduction steps Go to sub editor Open Typhon Open that hatch Turn batteries on Test ### Bug prevalence Happens every time I play ### Single player or multiplayer? Single player ### - _No response_ ### Version v1.3.0.4 ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Regalis11 commented 1 month ago

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