Added insertion blocking to Strap and Foldable components (#6151)

This commit is contained in:
Leon Friedrich
2022-01-14 04:09:42 +13:00
committed by GitHub
parent 291756b67c
commit 723e38f9ab
5 changed files with 20 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ namespace Content.Server.Foldable
if (!Resolve(uid, ref fold))
return false;
// Can't un-fold in hands / inventory
// Can't un-fold in any container (locker, hands, inventory, whatever).
if (_container.IsEntityInContainer(uid))
return false;