Skip to content

Commit

Permalink
Don't read more than 20 charts at a time.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcuhljr committed Nov 14, 2016
1 parent 4e78d76 commit 6843771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions first-aid.lic
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class FirstAid
.select { |info| info['scholarship'] <= DRSkill.getrank('Scholarship') }
.sort_by { |info| info['scholarship'] }
.reverse
.take(20)
.each do |info|
case bput("turn my #{@booktype} to #{info['index']}", 'You turn', 'That section does not exist', 'Turn what?')
when 'You turn'
Expand Down

0 comments on commit 6843771

Please sign in to comment.