remove client overrides instead of double deleting the normal ones

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-10-12 00:19:54 +03:00
parent e2b346fc53
commit 97f4ead0fb
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -136,7 +136,7 @@ bool ModrinthCreationTask::updateInstance()
}
auto old_client_overrides = Override::readOverrides("client-overrides", old_index_folder);
for (const auto& entry : old_overrides) {
for (const auto& entry : old_client_overrides) {
if (entry.isEmpty())
continue;
qDebug() << "Scheduling" << entry << "for removal";