forked from Dniel97/artemis
cardmaker: fixed chuni endless loading
This commit is contained in:
parent
2a290f2a3d
commit
541fe76a7c
@ -269,10 +269,10 @@ class ChuniNew(ChuniBase):
|
|||||||
tmp = user_print_list[x]._asdict()
|
tmp = user_print_list[x]._asdict()
|
||||||
print_list.append(tmp["cardId"])
|
print_list.append(tmp["cardId"])
|
||||||
|
|
||||||
if len(user_print_list) >= max_ct:
|
if len(print_list) >= max_ct:
|
||||||
break
|
break
|
||||||
|
|
||||||
if len(user_print_list) >= max_ct:
|
if len(print_list) >= max_ct:
|
||||||
next_idx = next_idx + max_ct
|
next_idx = next_idx + max_ct
|
||||||
else:
|
else:
|
||||||
next_idx = -1
|
next_idx = -1
|
||||||
|
Loading…
Reference in New Issue
Block a user