error handling
This commit is contained in:
parent
72508c010b
commit
4fd061c859
@ -735,6 +735,11 @@ function spawnCycle(cycle)
|
||||
end
|
||||
local cardList = allCardsBagApi.getCardsByCycle(cycle, sortByMetadata, includeNoLevelCards)
|
||||
|
||||
if #cardList == 0 then
|
||||
printToAll("Didn't find any cards for '" .. cycle .. "'.")
|
||||
return
|
||||
end
|
||||
|
||||
prepareToPlaceCards()
|
||||
local rowCount = spawnInvestigators(cycle)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user