Remove removed titles from title_hash

This commit is contained in:
Leeingnyo
2021-09-12 13:39:28 +09:00
parent cd48b45f11
commit 8c90b46114
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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 }