From 69849026107ed49bb3374bc71a4e5dc887fe5fbb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 22 Apr 2022 23:10:12 +0100 Subject: [PATCH] don't lose version... --- OpenSim/Services/InventoryService/LibraryService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Services/InventoryService/LibraryService.cs b/OpenSim/Services/InventoryService/LibraryService.cs index de1c78462a..8b3ee400db 100644 --- a/OpenSim/Services/InventoryService/LibraryService.cs +++ b/OpenSim/Services/InventoryService/LibraryService.cs @@ -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));