From 541fe76a7c5b02b2b06de99aaf14fa5ce565eebd Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Tue, 28 Mar 2023 01:09:16 +0200 Subject: [PATCH] cardmaker: fixed chuni endless loading --- titles/chuni/new.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/titles/chuni/new.py b/titles/chuni/new.py index 2c50c07..2963850 100644 --- a/titles/chuni/new.py +++ b/titles/chuni/new.py @@ -269,10 +269,10 @@ class ChuniNew(ChuniBase): tmp = user_print_list[x]._asdict() print_list.append(tmp["cardId"]) - if len(user_print_list) >= max_ct: + if len(print_list) >= max_ct: break - if len(user_print_list) >= max_ct: + if len(print_list) >= max_ct: next_idx = next_idx + max_ct else: next_idx = -1