Make parcelwrap able to wrap humanoids (#40911)

* parcel

* help, I'm being forced to add admin abuse features

* review
This commit is contained in:
slarticodefast
2025-10-15 22:19:34 +02:00
committed by GitHub
parent 7755009fe3
commit 9562e009bf
10 changed files with 192 additions and 77 deletions

View File

@@ -41,7 +41,7 @@ public sealed partial class ParcelWrappingSystem
if (!args.CanAccess || !args.CanComplexInteract)
return;
if (entity.Comp.Contents.Contains(args.User))
if (!entity.Comp.CanSelfUnwrap && entity.Comp.Contents.Contains(args.User))
return;
// "Capture" the values from `args` because C# doesn't like doing the capturing for `ref` values.