]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make insert telecrystal message only show to player (#27585)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Wed, 1 May 2024 15:17:47 +0000 (08:17 -0700)
committerGitHub <noreply@github.com>
Wed, 1 May 2024 15:17:47 +0000 (11:17 -0400)
Restrict message to player and fix grammar

Co-authored-by: Plykiya <plykiya@protonmail.com>
Content.Server/Store/Systems/StoreSystem.cs
Resources/Locale/en-US/store/currency.ftl

index 7998c42f533e22195b841fc86d042a4c3bc3ad34..e310194778b00cd23a2f7d9cc9258a6a7dc042b6 100644 (file)
@@ -100,7 +100,7 @@ public sealed partial class StoreSystem : EntitySystem
         if (args.Handled)
         {
             var msg = Loc.GetString("store-currency-inserted", ("used", args.Used), ("target", args.Target));
-            _popup.PopupEntity(msg, args.Target.Value);
+            _popup.PopupEntity(msg, args.Target.Value, args.User);
             QueueDel(args.Used);
         }
     }
index 5d7ed959359fe0a276cf4730b4952b53a521a72e..ed28391531a8ccf18a7423ea24822739ab1190a0 100644 (file)
@@ -1,4 +1,4 @@
-store-currency-inserted = {CAPITALIZE(THE($used))} is inserted into the {THE($target)}.
+store-currency-inserted = {CAPITALIZE(THE($used))} is inserted into {THE($target)}.
 store-currency-war-boost-given = { CAPITALIZE($target) } starts buzzing
 store-currency-inserted-implant = {CAPITALIZE(THE($used))} is inserted into your implant.