mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(LocalResourceSetting): fallback to setting name when no text found.
This commit is contained in:
parent
a8a74b05c4
commit
0a702c5c5d
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user