]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix shuttle disabling on ftl (#25859)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Tue, 5 Mar 2024 10:08:44 +0000 (21:08 +1100)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 10:08:44 +0000 (21:08 +1100)
Branch moment.

Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs

index 7b0c1b7484aa7c05399ada32ed77ecdc081f30b6..f9ceab8f7b107ac6507f87a1740c8fac85351a28 100644 (file)
@@ -480,8 +480,10 @@ public sealed partial class ShuttleSystem
             {
                 Disable(uid, component: body);
             }
-
-            Enable(uid, component: body, shuttle: entity.Comp2);
+            else
+            {
+                Enable(uid, component: body, shuttle: entity.Comp2);
+            }
         }
 
         _thruster.DisableLinearThrusters(entity.Comp2);