don't lose version...

This commit is contained in:
UbitUmarov
2022-04-22 23:10:12 +01:00
parent a6172a70d3
commit 6984902610

View File

@@ -148,7 +148,7 @@ namespace OpenSim.Services.InventoryService
protected void ReadLibraryFromConfig(IConfig config, string path)
{
string basePath = Path.GetDirectoryName(path);
m_LibraryRootFolder.Version = (ushort)config.GetInt("RootVersion", 1);
m_LibraryRootFolder.Version = (ushort)config.GetInt("RootVersion", m_LibraryRootFolder.Version);
string foldersPath
= Path.Combine(
basePath, config.GetString("foldersFile", String.Empty));