Commit 47c1de08 authored by fallenstardust's avatar fallenstardust

fix ygopro卡组管理不显示ypk内ydk的问题

parent 95fa656d
...@@ -1605,6 +1605,9 @@ void Game::LoadExpansions() { ...@@ -1605,6 +1605,9 @@ void Game::LoadExpansions() {
#endif #endif
dataManager.LoadStrings(reader); dataManager.LoadStrings(reader);
} }
if(wcsrchr(fname, '.') && !wcsncasecmp(wcsrchr(fname, '.'), L".ydk", 4)) {
deckBuilder.expansionPacks.push_back(fname);
}
} }
} }
} }
......
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