real fix for expansion selection option
This commit is contained in:
parent
23aedeef84
commit
afd6fe743a
@ -124,8 +124,9 @@ class DominionTabs:
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getType(cls, typespec):
|
def getType(cls, typespec):
|
||||||
if typespec == 'Expansion':
|
# Expansion is a custom tag inserted by code below
|
||||||
return typespec
|
if typespec == ('Expansion',):
|
||||||
|
return cls.cardTypes[typespec]
|
||||||
mapped_spec = tuple([cls.language_mapping[t] for t in typespec])
|
mapped_spec = tuple([cls.language_mapping[t] for t in typespec])
|
||||||
return cls.cardTypes[mapped_spec]
|
return cls.cardTypes[mapped_spec]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user