Update to Twitcher
Fixed error in iter functions, where it would never return the last item in the iteration.
This commit is contained in:
parent
582d50ec2d
commit
e586141d4d
35 changed files with 52 additions and 52 deletions
|
|
@ -109,7 +109,7 @@ class Response extends TwitchData:
|
|||
|
||||
|
||||
func _iter_get(iter: Variant) -> Variant:
|
||||
if data.size() - 1 == _cur_iter && _has_pagination():
|
||||
if data.size() == _cur_iter && _has_pagination():
|
||||
await next_page()
|
||||
return iter
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue