mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Make the logic even easier
This commit is contained in:
@@ -1987,7 +1987,7 @@ namespace SabreTools.Helper
|
|||||||
{
|
{
|
||||||
string itemval = gc[2].Value.Replace("\"", "");
|
string itemval = gc[2].Value.Replace("\"", "");
|
||||||
|
|
||||||
if (line.StartsWith("Name:") && (gc == null || gc[2] == null))
|
if (line.StartsWith("Name:"))
|
||||||
{
|
{
|
||||||
Name = (String.IsNullOrEmpty(Name) ? line.Remove(5) : Name);
|
Name = (String.IsNullOrEmpty(Name) ? line.Remove(5) : Name);
|
||||||
superdat = superdat || itemval.Contains(" - SuperDAT");
|
superdat = superdat || itemval.Contains(" - SuperDAT");
|
||||||
|
|||||||
Reference in New Issue
Block a user