v1.4.5.0 (Blood in the Water Hotfix)

This commit is contained in:
itchyOwl
2024-04-26 17:03:10 +03:00
parent 10285b8b34
commit 848113b8cb
15 changed files with 96 additions and 48 deletions
@@ -1735,7 +1735,7 @@ namespace Barotrauma
if (!ItemAndAllContainersInteractable(subItem)) { continue; }
//don't list items in a character inventory (the ones in a crew member's inventory are counted below)
var rootInventoryOwner = subItem.GetRootInventoryOwner();
if (rootInventoryOwner != null) { continue; }
if (rootInventoryOwner is Character) { continue; }
AddOwnedItem(subItem);
}
}