diff --git a/src/ModDtoFactory.cpp b/src/ModDtoFactory.cpp index d681cfe..3faed36 100644 --- a/src/ModDtoFactory.cpp +++ b/src/ModDtoFactory.cpp @@ -34,7 +34,6 @@ namespace BsaPacker const QString& pluginName = this->m_PackerDialog->SelectedPluginItem(); const bool needsNewName = this->m_PackerDialog->IsNewFilename(); const QString& archiveName = ModDtoFactory::ArchiveNameValidator(modName, pluginName, needsNewName); - // Don't create the archive when cancelled, empty, or null if (archiveName == nullptr) { return std::make_unique(); } @@ -63,10 +62,10 @@ namespace BsaPacker if (!ok) { return nullptr; } - // Nameless plugins are not loaded (in the games I tested). Nameless archives can be loaded in - // some games using SArchiveList or equivalent. It is simpler to just prevent nameless archives + // Nameless plugins are not loaded in the games I tested. Nameless archives can be loaded in + // some games using the SArchiveList INI setting or equivalent. It is simpler to just prevent nameless archives else if (name.isEmpty()) { - qWarning("Archive name is empty. Aborting creation."); + qWarning("Archive name cannot be empty. Cancelling archive creation."); return nullptr; } archive_name_base = name;