Commit a1bfb45a authored by nanahira's avatar nanahira

refa

parent 4d045555
Pipeline #37525 passed with stages
in 11 minutes and 39 seconds
......@@ -1239,14 +1239,14 @@ void Game::LoadExpansions() {
dataManager.LoadDB(fpath);
return;
}
if (IsExtension(name, L".conf") && std::wcscmp(name, L"lflist.conf")) {
char upath[1024];
BufferIO::EncodeUTF8(fpath, upath);
dataManager.LoadStrings(upath);
return;
}
if (!std::wcscmp(name, L"lflist.conf")) {
deckManager.LoadLFListSingle(fpath, true);
if (IsExtension(name, L".conf")) {
if(!std::wcscmp(name, L"lflist.conf"))
deckManager.LoadLFListSingle(fpath, true);
else {
char upath[1024];
BufferIO::EncodeUTF8(fpath, upath);
dataManager.LoadStrings(upath);
}
return;
}
if (IsExtension(name, L".zip") || IsExtension(name, L".ypk")) {
......
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