minor cleanup
This commit is contained in:
parent
88f4331a78
commit
50c903f349
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ def fields_check_valid(fields):
|
||||||
for idx, value in fields[field_types]:
|
for idx, value in fields[field_types]:
|
||||||
if 'creature' in value:
|
if 'creature' in value:
|
||||||
iscreature = True
|
iscreature = True
|
||||||
elif fields.get(field_subtypes):
|
elif field_subtypes in fields:
|
||||||
for idx, value in fields[field_subtypes]:
|
for idx, value in fields[field_subtypes]:
|
||||||
if 'vehicle' in value:
|
if 'vehicle' in value:
|
||||||
iscreature = True
|
iscreature = True
|
||||||
|
|
Loading…
Reference in a new issue