From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 23 Apr 2023 07:20:19 +0000 (+1000) Subject: Fix tests (#15682) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=db0120ea6269c30f17de4eb32956f4381e2b47d5;p=space-station-14.git Fix tests (#15682) --- diff --git a/Content.Server/Pinpointer/ProximityBeeperSystem.cs b/Content.Server/Pinpointer/ProximityBeeperSystem.cs index 472a50fb23..f0d90459d8 100644 --- a/Content.Server/Pinpointer/ProximityBeeperSystem.cs +++ b/Content.Server/Pinpointer/ProximityBeeperSystem.cs @@ -22,7 +22,7 @@ public sealed class ProximityBeeperSystem : EntitySystem public override void Initialize() { SubscribeLocalEvent(OnUseInHand); - SubscribeLocalEvent(OnInit); + SubscribeLocalEvent(OnInit); SubscribeLocalEvent(OnUnpaused); SubscribeLocalEvent(OnPowerCellSlotEmpty); } @@ -34,7 +34,7 @@ public sealed class ProximityBeeperSystem : EntitySystem args.Handled = TryToggle(uid, component, args.User); } - private void OnInit(EntityUid uid, ProximityBeeperComponent component, ComponentInit args) + private void OnInit(EntityUid uid, ProximityBeeperComponent component, MapInitEvent args) { if (component.NextBeepTime < _timing.CurTime) component.NextBeepTime = _timing.CurTime;