Revert "OBT1.1.0 Merge branch 'dev_pte' into dev"

This reverts commit 177cf89756, reversing
changes made to 42ba733cd4.
This commit is contained in:
Eero
2025-12-29 11:18:11 +08:00
parent 177cf89756
commit 046483b9da
86 changed files with 800 additions and 2496 deletions
@@ -381,8 +381,7 @@ namespace Barotrauma
if (Owner is not Item it) { return; }
// Use ToArray() snapshot for thread-safe iteration
foreach (var c in it.Components.ToArray())
foreach (var c in it.Components)
{
c.OnInventoryChanged();
}