From db0120ea6269c30f17de4eb32956f4381e2b47d5 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 23 Apr 2023 17:20:19 +1000 Subject: [PATCH] Fix tests (#15682) --- Content.Server/Pinpointer/ProximityBeeperSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.51.2