Commit 73350c43 authored by nanahira's avatar nanahira

future

parent b436dd98
...@@ -417,9 +417,15 @@ public class Program : MonoBehaviour ...@@ -417,9 +417,15 @@ public class Program : MonoBehaviour
if (fileInfos[i].Name.Length > 4) if (fileInfos[i].Name.Length > 4)
{ {
if (fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".cdb") if (fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".cdb")
{
try
{ {
YGOSharp.CardsManager.initialize("expansions/" + fileInfos[i].Name); YGOSharp.CardsManager.initialize("expansions/" + fileInfos[i].Name);
} }
catch (System.Exception e) //broken file
{
}
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment