Fix failing to insert into storage messages not being localized (#20049)

This commit is contained in:
DrSmugleaf
2023-09-11 15:57:27 -07:00
committed by GitHub
parent 113778471c
commit 9a49fbe936

View 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;
}