Commit ec1206c7 authored by nanahira's avatar nanahira

make all files optional

parent c1ef977f
......@@ -354,7 +354,10 @@ public class Program : MonoBehaviour
{
YGOSharp.CardsManager.initialize("cdb/cards.cdb");
}
if (File.Exists("strings.conf"))
{
GameStringManager.initialize("strings.conf");//YGOMobile Paths
}
if (File.Exists("cdb/strings.conf"))
{
GameStringManager.initialize("cdb/strings.conf");
......@@ -367,8 +370,14 @@ public class Program : MonoBehaviour
{
GameStringManager.initialize("cdb/lflist.conf");
}
if (File.Exists("lflist.conf"))
{
YGOSharp.BanlistManager.initialize("lflist.conf");//YGOMobile Paths
}
if (File.Exists("cards.cdb"))
{
YGOSharp.CardsManager.initialize("cards.cdb");//YGOMobile Paths
}
if (Directory.Exists("expansions"))
{
......
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