[97] fix overlay limits

This commit is contained in:
meisnate12 2023-08-17 13:28:29 -04:00
parent 63fdaf3cff
commit a44b736b17
2 changed files with 3 additions and 1 deletions

View file

@ -1 +1 @@
1.19.0-develop96
1.19.0-develop97

View file

@ -416,6 +416,8 @@ class Overlays:
added_titles = []
if builder.found_items:
for item in builder.found_items:
if builder.limit and len(added_titles) >= builder.limit:
break
key_to_item[item.ratingKey] = item
added_titles.append(item)
if item.ratingKey not in properties[prop_name].keys: