Fixed converting Ultrastar.db

This commit is contained in:
Florian Küpper committed 2017-12-02 16:45:41 +01:00
1 parent 7fdbd8780b
commit 5296627f8d
1 file changed
+2 -2
+2 -2
View File
@@ -613,7 +613,7 @@ namespace Vocaluxe.Lib.Database
{
//Check for USDX 1.1 DB
_CreateHighscoreDBV1(filePath);
result &= !_ConvertFrom110(filePath);
result &= _ConvertFrom110(filePath);
result &= _UpdateDatabase(1, connection);
result &= _UpdateDatabase(2, connection);
}
@@ -927,7 +927,7 @@ namespace Vocaluxe.Lib.Database
if (currentVersion < 2)
updated &= _ConvertV1toV2(connection);
if (currentVersion < 3)
else if (currentVersion < 3)
updated &= _ConvertV2toV3(connection);
return updated;