Fix ambiguous Dumpable behaviour (#13736)

This commit is contained in:
Joel Hedtjärn
2023-01-27 17:25:07 +01:00
committed by GitHub
parent 21db92547f
commit 589854449b
2 changed files with 3 additions and 2 deletions

View File

@@ -316,6 +316,7 @@ namespace Content.Server.Storage.EntitySystems
{
if (entity == args.User
|| !itemQuery.HasComponent(entity)
|| !CanInsert(uid, entity, out _, storageComp)
|| !_interactionSystem.InRangeUnobstructed(args.User, entity))
continue;