forked from aly/qstbak
muffin v7.5.4
This commit is contained in:
parent
40d48d62b0
commit
a8f2c1df37
14 changed files with 1093 additions and 957 deletions
|
|
@ -325,18 +325,7 @@ internal sealed class QuestRegistry
|
|||
{
|
||||
string text = fileName.Substring(0, fileName.Length - ".json".Length);
|
||||
int num = text.IndexOf('_', StringComparison.Ordinal);
|
||||
string text2;
|
||||
if (num < 0 || num + 1 >= text.Length)
|
||||
{
|
||||
text2 = text;
|
||||
}
|
||||
else
|
||||
{
|
||||
string text3 = text;
|
||||
int num2 = num + 1;
|
||||
text2 = text3.Substring(num2, text3.Length - num2);
|
||||
}
|
||||
name = text2;
|
||||
name = ((num >= 0 && num + 1 < text.Length) ? text.Substring(num + 1) : text);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue