Jeck - Bugfix: repaired set unlocking.
* Checks for unlocked sets /after/ they've finished loading.
This commit is contained in:
@@ -92,8 +92,9 @@ int Options::getID(string name){
|
||||
}
|
||||
|
||||
//Is it an unlocked set?
|
||||
string setname = name.substr(strlen("unlocked_"));
|
||||
if(MtgSets::SetsList){
|
||||
int unlocked = MtgSets::SetsList->find(name);
|
||||
int unlocked = MtgSets::SetsList->find(setname);
|
||||
if(unlocked != -1)
|
||||
return Options::optionSet(unlocked);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user