More sensible max number of skills

main
Bob Mottram 2021-06-07 10:19:18 +01:00
parent 35b91d6907
commit f49509a9f1
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ def setActorSkillLevel(actorJson: {},
ocSkillsList = getOccupationSkills(actorJson)
skillsDict = getSkillsFromList(ocSkillsList)
if not skillsDict.get(skill):
if len(skillsDict.items()) >= 100:
if len(skillsDict.items()) >= 32:
print('WARN: Maximum number of skills reached for ' +
actorJson['id'])
return False