Salvage dungeons (#14520)

This commit is contained in:
metalgearsloth
2023-03-10 16:41:22 +11:00
committed by GitHub
parent 214ca06997
commit 6157dfa3c0
145 changed files with 24649 additions and 396 deletions

View File

@@ -14,7 +14,7 @@ namespace Content.Server.Pinpointer
{
base.Initialize();
SubscribeLocalEvent<PinpointerComponent, ActivateInWorldEvent>(OnActivate);
SubscribeLocalEvent<HyperspaceJumpCompletedEvent>(OnLocateTarget);
SubscribeLocalEvent<FTLCompletedEvent>(OnLocateTarget);
}
private void OnActivate(EntityUid uid, PinpointerComponent component, ActivateInWorldEvent args)
@@ -23,7 +23,7 @@ namespace Content.Server.Pinpointer
LocateTarget(uid, component);
}
private void OnLocateTarget(HyperspaceJumpCompletedEvent ev)
private void OnLocateTarget(ref FTLCompletedEvent ev)
{
// This feels kind of expensive, but it only happens once per hyperspace jump