lol
This commit is contained in:
parent
448b755b75
commit
5ed135c796
|
|
@ -415,7 +415,7 @@ public abstract class SharedEntityStorageSystem : EntitySystem
|
||||||
|
|
||||||
public bool CanOpen(EntityUid user, EntityUid target, bool silent = false, EntityStorageComponent? component = null)
|
public bool CanOpen(EntityUid user, EntityUid target, bool silent = false, EntityStorageComponent? component = null)
|
||||||
{
|
{
|
||||||
if (!Resolve(target, ref component))
|
if (!Resolve(target, ref component, false)) // DeltaV - Prevent HTNOperators from failing tests
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!HasComp<HandsComponent>(user))
|
if (!HasComp<HandsComponent>(user))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue