]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Makes the QSI Popup Nicer (#30265)
authorCojoke <83733158+Cojoke-dot@users.noreply.github.com>
Tue, 23 Jul 2024 03:23:04 +0000 (22:23 -0500)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 03:23:04 +0000 (20:23 -0700)
Content.Shared/Teleportation/Systems/SwapTeleporterSystem.cs

index a5ad77d43bf0c6ad44c5d87a4e1ae450acc37afe..15807794c38e96b52936701914aba5f3124f0a8a 100644 (file)
@@ -164,9 +164,9 @@ public sealed class SwapTeleporterSystem : EntitySystem
             return;
         }
 
-        _popup.PopupEntity(Loc.GetString("swap-teleporter-popup-teleport-other",
+        _popup.PopupClient(Loc.GetString("swap-teleporter-popup-teleport-other",
             ("entity", Identity.Entity(linkedEnt, EntityManager))),
-            otherTeleEnt,
+            teleEnt,
             otherTeleEnt,
             PopupType.MediumCaution);
         _transform.SwapPositions(teleEnt, otherTeleEnt);