mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:37:19 +02:00
Merge pull request #14773 from Atlante45/fix/corrupted-backups-status
Add failed backup as corrupted during creation
This commit is contained in:
commit
17b8f65d0a
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ void AssetsBackupHandler::createBackup(const QString& backupName, QuaZip& zip) {
|
||||||
|
|
||||||
if (_assetServerEnabled && _lastMappingsRefresh.time_since_epoch().count() == 0) {
|
if (_assetServerEnabled && _lastMappingsRefresh.time_since_epoch().count() == 0) {
|
||||||
qCWarning(asset_backup) << "Current mappings not yet loaded.";
|
qCWarning(asset_backup) << "Current mappings not yet loaded.";
|
||||||
|
_backups.emplace_back(backupName, AssetUtils::Mappings(), true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue