Commit db88f5a0 authored by nanahira's avatar nanahira

load downloaded contents first

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