[97] fix overlay limits

pull/1561/head
meisnate12 1 year ago
parent 63fdaf3cff
commit a44b736b17

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

@ -416,6 +416,8 @@ class Overlays:
added_titles = [] added_titles = []
if builder.found_items: if builder.found_items:
for item in 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 key_to_item[item.ratingKey] = item
added_titles.append(item) added_titles.append(item)
if item.ratingKey not in properties[prop_name].keys: if item.ratingKey not in properties[prop_name].keys:

Loading…
Cancel
Save