]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix double FTL started event (#14788)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Thu, 23 Mar 2023 06:41:42 +0000 (17:41 +1100)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2023 06:41:42 +0000 (17:41 +1100)
Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs

index 75ddccce48fb498fe370c72c25adfb69b68a182e..f68533d4bbcbb0a2c6031f03436e06a493b0cf5a 100644 (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;
     }