mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Better handle the TK set used for tokens
Let oracle add a basic TK set in cards.xml Unify all the code previously using the string literal “TK”
This commit is contained in:
parent
8542d875d3
commit
ac43fa23b9
4 changed files with 9 additions and 2 deletions
|
|
@ -235,6 +235,10 @@ int OracleImporter::startImport()
|
|||
QListIterator<SetToDownload> it(allSets);
|
||||
const SetToDownload * curSet;
|
||||
|
||||
// add an empty set for tokens
|
||||
CardSet *tokenSet = new CardSet(TOKENS_SETNAME, tr("Dummy set containing tokens"), "tokens");
|
||||
sets.insert(TOKENS_SETNAME, tokenSet);
|
||||
|
||||
while (it.hasNext())
|
||||
{
|
||||
curSet = & it.next();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue