Update to Twitcher

Fixed error in iter functions, where it would never return the last item
in the iteration.
This commit is contained in:
Mario Steele 2026-03-08 13:14:52 -05:00
parent 582d50ec2d
commit e586141d4d
35 changed files with 52 additions and 52 deletions

View file

@ -89,7 +89,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