Make stripping corpses faster. (#11945)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user