Hid Subtypes behind MTGAllCards and added a mutex to be able to use both singleton from several threads.
This commit is contained in:
@@ -2057,7 +2057,7 @@ void WGuiFilterItem::updateValue()
|
||||
vector<string> stlist;
|
||||
for (int i = Subtypes::LAST_TYPE + 1;; i++)
|
||||
{
|
||||
string s = Subtypes::subtypesList->find(i);
|
||||
string s = MTGAllCards::findType(i);
|
||||
if (s == "") break;
|
||||
if (s.find(" ") != string::npos) continue;
|
||||
if (s == "Nothing")
|
||||
|
||||
Reference in New Issue
Block a user