Updated some condition for Collection Page

This commit is contained in:
kohashiwakaba committed 2022-01-31 06:28:07 +09:00
1 parent 52e69a2b50
commit 1415a38a85
1 file changed
+1 -1
+1 -1
View File
@@ -1261,6 +1261,6 @@ end
-- Returns true if an item needs to be collected for the collection page
function EID:requiredForCollectionPage(itemID)
if not EID.SaveGame or EID.Config["SaveGameNumber"] == 0 then return false end
if game:GetVictoryLap() > 0 or game:GetSeeds():IsCustomRun() or not EID.SaveGame or EID.Config["SaveGameNumber"] == 0 then return false end
return not EID.SaveGame[EID.Config["SaveGameNumber"]].ItemCollection[itemID]
end