From 75af9a7dcc4ea26953974f993df6563a8cee4548 Mon Sep 17 00:00:00 2001 From: Vigers Ray Date: Fri, 10 Jan 2025 03:53:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=BE=D1=80=D0=B3=D0=B8=20=D0=BD=D0=B5?= =?UTF-8?q?=20=D1=81=D0=BA=D0=BE=D0=BB=D1=8C=D0=B7=D1=8F=D1=82=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D0=BC=D0=B0=D0=B3=D0=B1=D1=83=D1=82=D1=81=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Shared/_Sunrise/Abilities/BorgMagBootSystem.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Shared/_Sunrise/Abilities/BorgMagBootSystem.cs b/Content.Shared/_Sunrise/Abilities/BorgMagBootSystem.cs index 30e42f64aab..6cb684711fc 100644 --- a/Content.Shared/_Sunrise/Abilities/BorgMagBootSystem.cs +++ b/Content.Shared/_Sunrise/Abilities/BorgMagBootSystem.cs @@ -18,7 +18,7 @@ public sealed class SharedBorgMagbootsSystem : EntitySystem public override void Initialize() { base.Initialize(); - SubscribeLocalEvent>(OnSlipAttempt); + SubscribeLocalEvent(OnSlipAttempt); SubscribeLocalEvent(OnToggleAction); SubscribeLocalEvent(OnRefreshMovementSpeedModifiers); SubscribeLocalEvent(OnInit); @@ -74,9 +74,9 @@ public void UpdateMagbootEffects(EntityUid user, Entity e _alerts.ClearAlert(user, ent.Comp.MagbootsAlert); } - private void OnSlipAttempt(EntityUid uid, BorgMagbootsComponent component, InventoryRelayedEvent args) + private void OnSlipAttempt(EntityUid uid, BorgMagbootsComponent component, SlipAttemptEvent args) { if (component.On) - args.Args.NoSlip = true; + args.NoSlip = true; } }