diff --git a/boiiiwd.py b/boiiiwd.py index 7cec23b..87ea188 100644 --- a/boiiiwd.py +++ b/boiiiwd.py @@ -705,11 +705,11 @@ class LibraryTab(ctk.CTkScrollableFrame): folder_creation_timestamp = zone_path.stat().st_ctime date_added = datetime.fromtimestamp(folder_creation_timestamp).strftime("%d %b, %Y @ %I:%M%p") items_file = os.path.join(cwd(), LIBRARY_FILE) + map_count += 1 if item_type == "map" else 0 + mod_count += 1 if item_type == "mod" else 0 if text_to_add not in self.added_items: self.added_items.add(text_to_add) image_path = mod_img if item_type == "mod" else map_img - map_count += 1 if item_type == "map" else 0 - mod_count += 1 if item_type == "mod" else 0 self.add_item(text_to_add, image=ctk.CTkImage(Image.open(image_path)), workshop_id=workshop_id, folder=zone_path.parent) if not self.item_exists_in_file(items_file, workshop_id): diff --git a/dist/BOIIIWD.exe b/dist/BOIIIWD.exe index d28d7ee..2d1674c 100644 Binary files a/dist/BOIIIWD.exe and b/dist/BOIIIWD.exe differ