- Fix a bug where JFileSystem would return duplicate results in function scanfolder (can lead to "card id collision" in the previous builds)
This commit is contained in:
@@ -101,7 +101,7 @@ void GameApp::Create()
|
||||
|
||||
// Create User Folders (for write access) if they don't exist
|
||||
{
|
||||
const char* folders[] = { "ai", "ai/baka", "ai/baka/stats", "campaigns", "graphics", "lang", "packs", "player", "player/stats", "profiles", "rules", "sets", "settings", "sound", "sound/sfx", "themes"};
|
||||
const char* folders[] = { "ai", "ai/baka", "ai/baka/stats", "campaigns", "graphics", "lang", "packs", "player", "player/stats", "profiles", "rules", "sets", "settings", "sound", "sound/sfx", "themes", "test"};
|
||||
string userRoot = JFileSystem::GetInstance()->GetUserRoot();
|
||||
MAKEDIR(userRoot.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user