Fixed converting Ultrastar.db
This commit is contained in:
1 parent
7fdbd8780b
commit
5296627f8d
1 file changed
+2
-2
@@ -613,7 +613,7 @@ namespace Vocaluxe.Lib.Database
|
|||||||
{
|
{
|
||||||
//Check for USDX 1.1 DB
|
//Check for USDX 1.1 DB
|
||||||
_CreateHighscoreDBV1(filePath);
|
_CreateHighscoreDBV1(filePath);
|
||||||
result &= !_ConvertFrom110(filePath);
|
result &= _ConvertFrom110(filePath);
|
||||||
result &= _UpdateDatabase(1, connection);
|
result &= _UpdateDatabase(1, connection);
|
||||||
result &= _UpdateDatabase(2, connection);
|
result &= _UpdateDatabase(2, connection);
|
||||||
}
|
}
|
||||||
@@ -927,7 +927,7 @@ namespace Vocaluxe.Lib.Database
|
|||||||
|
|
||||||
if (currentVersion < 2)
|
if (currentVersion < 2)
|
||||||
updated &= _ConvertV1toV2(connection);
|
updated &= _ConvertV1toV2(connection);
|
||||||
if (currentVersion < 3)
|
else if (currentVersion < 3)
|
||||||
updated &= _ConvertV2toV3(connection);
|
updated &= _ConvertV2toV3(connection);
|
||||||
|
|
||||||
return updated;
|
return updated;
|
||||||
|
|||||||
Reference in new issue
Block a user