From: DrSmugleaf Date: Mon, 11 Sep 2023 22:57:27 +0000 (-0700) Subject: Fix failing to insert into storage messages not being localized (#20049) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=9a49fbe936b7805e954e3e80623362d000e17f2f;p=space-station-14.git Fix failing to insert into storage messages not being localized (#20049) --- diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index fac772371d..b35a4c3e25 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -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; }