Revert "OBT1.1.0 Merge branch 'dev_pte' into dev"
This reverts commit177cf89756, reversing changes made to42ba733cd4.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user