fix backgrounds not showing on time traveler shop

This commit is contained in:
Phillip Thelen
2024-05-16 20:38:58 +02:00
parent 15cea33c4b
commit 4c13f3193e

View File

@@ -364,7 +364,7 @@ shops.getTimeTravelersCategories = function getTimeTravelersCategories (user, la
backgroundCategory.items.push(item); backgroundCategory.items.push(item);
} }
} }
if (backgroundCategory.length > 0) { if (backgroundCategory.items.length > 0) {
categories.push(backgroundCategory); categories.push(backgroundCategory);
} }