Revs (the spooky ones) (#9842)

This commit is contained in:
Nemanja
2022-08-13 09:49:41 -04:00
committed by GitHub
parent ab4e2ef74f
commit 3e1cf73469
68 changed files with 1976 additions and 34 deletions

View File

@@ -208,9 +208,9 @@ public sealed class EntityStorageSystem : EntitySystem
return true;
}
public bool TryOpenStorage(EntityUid user, EntityUid target)
public bool TryOpenStorage(EntityUid user, EntityUid target, bool silent = false)
{
if (!CanOpen(user, target))
if (!CanOpen(user, target, silent))
return false;
OpenStorage(target);