Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
DevinPentecost authored Aug 25, 2018
1 parent 9fdf7c8 commit 8de4337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SeededRandomSequence/SeededRandomSequence.gd
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func get_at_index(index):
#Note: This WILL update the sequence to that index if it is further than the current index!

#We need to generate numbers until we get to this index
while index > self._result_sequence.size():
while index >= self._result_sequence.size():
#We need to keep generating more
self.next()

Expand Down

0 comments on commit 8de4337

Please sign in to comment.