From 5ad059bf36cc664b31a595e86d58aee22573c146 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 23 Mar 2023 18:11:19 +1100 Subject: [PATCH] Change FTLCompletedEvent raise target (#14790) --- .../Shuttles/Systems/ShuttleSystem.FasterThanLight.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs index f68533d4bb..369803b497 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs @@ -360,10 +360,9 @@ public sealed partial class ShuttleSystem comp.State = FTLState.Cooldown; comp.Accumulator += FTLCooldown; _console.RefreshShuttleConsoles(uid); - var mapUid = _mapManager.GetMapEntityId(mapId); _mapManager.SetMapPaused(mapId, false); var ftlEvent = new FTLCompletedEvent(); - RaiseLocalEvent(mapUid, ref ftlEvent, true); + RaiseLocalEvent(uid, ref ftlEvent, true); break; case FTLState.Cooldown: RemComp(uid); -- 2.51.2