Make parcelwrap able to wrap humanoids (#40911)
* parcel * help, I'm being forced to add admin abuse features * review
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user