Update comment

This commit is contained in:
Alex Ling 2022-06-18 10:22:25 +00:00
parent d9dce4a881
commit a639392ca0

View File

@ -632,8 +632,9 @@ class Title
if last_read_entry && last_read_entry.finished? username
last_read_entry = last_read_entry.next_entry username
# Get the last read entry in greedy
if last_read_entry.nil?
# The last entry is finished. Return the first unfinished entry
# (if any)
sorted_entries(username).each do |e|
unless e.finished? username
last_read_entry = e