1 parent 320ad7d commit 85ca09cCopy full SHA for 85ca09c
1 file changed
TeraFinder.Plugins/Forms/CalculatorForm.cs
@@ -383,14 +383,15 @@ private byte GetStars()
383
str = str.Replace($" ({Strings["GameVersionSL"]})", string.Empty).Replace($" ({Strings["GameVersionVL"]})", string.Empty);
384
if (!str.Equals(Strings["Any"]))
385
{
386
- var formLocation = str.IndexOf('-');
387
- var isForm = Array.IndexOf(NameList, str) == -1 && formLocation > 0;
388
-
389
if (byte.TryParse(str[^2].ToString(), out var index) && str[^1] == ')')
390
391
result.index = index;
392
str = str[..^4];
393
}
+
+ var formLocation = str.IndexOf('-');
+ var isForm = Array.IndexOf(NameList, str) == -1 && formLocation > 0;
394
395
if (!isForm)
396
397
var species = Editor.Language.ToLower().Equals("en") ? str :
0 commit comments