From 0a702c5c5d916f99f8dcd9bdbb844afef50cc5d8 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 30 Jan 2018 09:20:12 +0400 Subject: [PATCH] (LocalResourceSetting): fallback to setting name when no text found. --- ArcFormats/ResourceSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/ResourceSettings.cs b/ArcFormats/ResourceSettings.cs index ce3780c5..af1f9e56 100644 --- a/ArcFormats/ResourceSettings.cs +++ b/ArcFormats/ResourceSettings.cs @@ -20,7 +20,7 @@ namespace GameRes.Formats public LocalResourceSetting (string name) { Name = name; - Text = arcStrings.ResourceManager.GetString (name, arcStrings.Culture); + Text = arcStrings.ResourceManager.GetString (name, arcStrings.Culture) ?? name; } }