Fix lookup flags (#12235)

This commit is contained in:
metalgearsloth
2022-10-28 01:09:16 +11:00
committed by GitHub
parent d7d73f6359
commit 0e9213f523
3 changed files with 3 additions and 3 deletions

View File

@@ -298,7 +298,7 @@ namespace Content.Server.Storage.EntitySystems
var validStorables = new List<EntityUid>();
var itemQuery = GetEntityQuery<ItemComponent>();
foreach (var entity in _entityLookupSystem.GetEntitiesInRange(args.ClickLocation, storageComp.AreaInsertRadius, LookupFlags.None))
foreach (var entity in _entityLookupSystem.GetEntitiesInRange(args.ClickLocation, storageComp.AreaInsertRadius, LookupFlags.Dynamic | LookupFlags.Sundries))
{
if (entity == args.User
|| !itemQuery.HasComponent(entity)