Cardboard Box and Stealth Components (#11569)

This commit is contained in:
keronshb
2022-10-09 18:17:53 -04:00
committed by GitHub
parent eadf01f323
commit 386c7f9223
16 changed files with 643 additions and 2 deletions

View File

@@ -149,7 +149,10 @@ namespace Content.Server.Storage.EntitySystems
return;
component.LastInternalOpenAttempt = _gameTiming.CurTime;
_entityStorage.TryOpenStorage(args.Entity, component.Owner);
if (component.OpenOnMove)
{
_entityStorage.TryOpenStorage(args.Entity, component.Owner);
}
}