Barotrauma
Barotrauma copied to clipboard
Lack of specified sprite path in some vanilla items makes it impossible to make variants of these items
Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14806
Originally posted by A2ur3 October 11, 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?
for example combat diving suit its Wearable texture is "combat_DivingSuit.png" It wont cause any issue in vanilla but if a mod want to make a variant of combat diving suit which only modify its helmet sprite the game cant find its sprites
Reproduction steps
- make variants of items that have no specified path
Bug prevalence
Just once
Single player or multiplayer?
Single player
-
No response
Version
v1.5.9.2 (Summer Update Hotfix 2)
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports
No response
Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/dde6bda567e32ca3430ff66ed495a833ad911116
Closing and fixed and merged into the codebase.