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() { ...@@ -1239,14 +1239,14 @@ void Game::LoadExpansions() {
dataManager.LoadDB(fpath); dataManager.LoadDB(fpath);
return; return;
} }
if (IsExtension(name, L".conf") && std::wcscmp(name, L"lflist.conf")) { if (IsExtension(name, L".conf")) {
char upath[1024]; if(!std::wcscmp(name, L"lflist.conf"))
BufferIO::EncodeUTF8(fpath, upath); deckManager.LoadLFListSingle(fpath, true);
dataManager.LoadStrings(upath); else {
return; char upath[1024];
} BufferIO::EncodeUTF8(fpath, upath);
if (!std::wcscmp(name, L"lflist.conf")) { dataManager.LoadStrings(upath);
deckManager.LoadLFListSingle(fpath, true); }
return; return;
} }
if (IsExtension(name, L".zip") || IsExtension(name, L".ypk")) { 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