Commit 73350c43 authored by nanahira's avatar nanahira

future

parent b436dd98
......@@ -418,7 +418,13 @@ public class Program : MonoBehaviour
{
if (fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".cdb")
{
YGOSharp.CardsManager.initialize("expansions/" + fileInfos[i].Name);
try
{
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