Fix double FTL started event (#14788)
This commit is contained in:
@@ -220,9 +220,6 @@ public sealed partial class ShuttleSystem
|
|||||||
SoundSystem.Play(_startupSound.GetSound(), Filter.Empty().AddInRange(Transform(uid).MapPosition, GetSoundRange(component.Owner)), _startupSound.Params);
|
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).
|
// Make sure the map is setup before we leave to avoid pop-in (e.g. parallax).
|
||||||
SetupHyperspace();
|
SetupHyperspace();
|
||||||
|
|
||||||
var ev = new FTLStartedEvent();
|
|
||||||
RaiseLocalEvent(uid, ref ev);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user