Make stripping corpses faster. (#11945)

This commit is contained in:
Leon Friedrich
2022-10-16 18:26:28 +13:00
committed by GitHub
parent fce7a3bc67
commit 1c013f826d
4 changed files with 52 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
using Content.Shared.Inventory;
using Content.Shared.Inventory;
using Content.Shared.Strip.Components;
namespace Content.Shared.Strip;
@@ -15,7 +15,7 @@ public sealed class ThievingSystem : EntitySystem
private void OnBeforeStrip(EntityUid uid, ThievingComponent component, BeforeStripEvent args)
{
args.Stealth = component.Stealthy;
args.Stealth |= component.Stealthy;
args.Additive -= component.StealTime;
}
}