]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix failing to insert into storage messages not being localized (#20049)
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Mon, 11 Sep 2023 22:57:27 +0000 (15:57 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2023 22:57:27 +0000 (18:57 -0400)
Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

index fac772371d2276c843c617b52c2e86f2608c6c19..b35a4c3e2596dd5c25bca6f2c7430dcb68cf54ba 100644 (file)
@@ -572,7 +572,7 @@ public abstract class SharedStorageSystem : EntitySystem
 
         if (!CanInsert(uid, toInsert.Value, out var reason, storageComp))
         {
-            _popupSystem.PopupClient(reason ?? Loc.GetString("comp-storage-cant-insert"), uid, player);
+            _popupSystem.PopupClient(Loc.GetString(reason ?? "comp-storage-cant-insert"), uid, player);
             return false;
         }