hopefully this all goes through well

This commit is contained in:
AeraAulin
2025-09-11 08:45:11 -07:00
parent feac8b7e32
commit 14d0c0a351
98 changed files with 1869 additions and 12 deletions
@@ -5,7 +5,7 @@ using System.Numerics;
using Robust.Shared.Utility;
using Content.Server.Shuttles.Events;
using Content.Shared.IdentityManagement;
using Content.Server.Bible.Components; // #IMP
namespace Content.Server.Pinpointer;
public sealed class PinpointerSystem : SharedPinpointerSystem
@@ -51,7 +51,7 @@ public sealed class PinpointerSystem : SharedPinpointerSystem
TogglePinpointer(uid, component);
if (!component.CanRetarget)
LocateTarget(uid, component);
LocateTarget(uid, component, args); //#IMP args
args.Handled = true;
}
@@ -73,7 +73,8 @@ public sealed class PinpointerSystem : SharedPinpointerSystem
}
}
private void LocateTarget(EntityUid uid, PinpointerComponent component)
//#IMP ActivateInWorldEvent args: added this
private void LocateTarget(EntityUid uid, PinpointerComponent component, ActivateInWorldEvent? args = null)
{
// try to find target from whitelist
if (component.IsActive && component.Component != null)