nil handling
This commit is contained in:
parent
92326cee62
commit
a92c65ff61
@ -886,7 +886,7 @@ function maybeUpdateActiveInvestigator(card)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- spawn additional token (maybe specific for investigator)
|
-- spawn additional token (maybe specific for investigator)
|
||||||
if extraToken ~= "None" then
|
if extraToken and extraToken ~= "None" then
|
||||||
-- set value to class if currently "nil"
|
-- set value to class if currently "nil"
|
||||||
extraToken = extraToken or activeInvestigatorClass
|
extraToken = extraToken or activeInvestigatorClass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user