Change FTLCompletedEvent raise target (#14790)
This commit is contained in:
@@ -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<FTLComponent>(uid);
|
||||
|
||||
Reference in New Issue
Block a user