Internals improvements (#11677)

This commit is contained in:
Kognise
2022-10-03 21:01:20 -04:00
committed by GitHub
parent 041e074e66
commit aba2462a97
2 changed files with 11 additions and 15 deletions

View File

@@ -124,7 +124,7 @@ public sealed class InternalsSystem : EntitySystem
// Prioritise
// 1. exo-slot tanks
// 2. in-hand tanks
// 3. pocket tanks
// 3. pocket/belt tanks
InventoryComponent? inventory = null;
ContainerManagerComponent? containerManager = null;
@@ -153,7 +153,7 @@ public sealed class InternalsSystem : EntitySystem
if (Resolve(component.Owner, ref inventory, false))
{
var enumerator = new InventorySystem.ContainerSlotEnumerator(component.Owner, inventory.TemplateId, _protoManager, _inventory, SlotFlags.POCKET);
var enumerator = new InventorySystem.ContainerSlotEnumerator(component.Owner, inventory.TemplateId, _protoManager, _inventory, SlotFlags.POCKET | SlotFlags.BELT);
while (enumerator.MoveNext(out var container))
{