mirror of
https://github.com/hkalexling/Mango.git
synced 2026-04-25 00:00:52 -04:00
Remove removed titles from title_hash
This commit is contained in:
@@ -159,7 +159,9 @@ class Library
|
||||
|
||||
@title_ids.select! do |title_id|
|
||||
title = @title_hash[title_id]
|
||||
title.examine
|
||||
existence = title.examine
|
||||
@title_hash.delete title_id unless existence
|
||||
existence
|
||||
end
|
||||
remained_title_dirs = @title_ids.map { |id| title_hash[id].dir }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user