]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Telepad Label Fix (#39975)
authorDDDragoni <38265528+DDeegan@users.noreply.github.com>
Thu, 4 Sep 2025 11:17:52 +0000 (04:17 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Sep 2025 11:17:52 +0000 (13:17 +0200)
Fixed telapad order labels showing wrong account

Content.Server/Cargo/Systems/CargoSystem.Telepad.cs

index 9e5c20e8c9cffd7483f0a66720a0c6e2834ee2a0..d8ee9c25d0a75a591bd9f23dfc0c63358f4017be 100644 (file)
@@ -105,7 +105,7 @@ public sealed partial class CargoSystem
             }
 
             var currentOrder = comp.CurrentOrders.First();
-            if (FulfillOrder(currentOrder, console.Value.Comp.Account, xform.Coordinates, comp.PrinterOutput))
+            if (FulfillOrder(currentOrder, currentOrder.Account, xform.Coordinates, comp.PrinterOutput))
             {
                 _audio.PlayPvs(_audio.ResolveSound(comp.TeleportSound), uid, AudioParams.Default.WithVolume(-8f));