Fix double FTL started event (#14788)

This commit is contained in:
metalgearsloth
2023-03-23 17:41:42 +11:00
committed by GitHub
parent d5d9046fb6
commit d5cf2f28c0

View File

@@ -220,9 +220,6 @@ public sealed partial class ShuttleSystem
SoundSystem.Play(_startupSound.GetSound(), Filter.Empty().AddInRange(Transform(uid).MapPosition, GetSoundRange(component.Owner)), _startupSound.Params);
// Make sure the map is setup before we leave to avoid pop-in (e.g. parallax).
SetupHyperspace();
var ev = new FTLStartedEvent();
RaiseLocalEvent(uid, ref ev);
return true;
}