mantis 9230: flag need for prims inventory saves in more 9un0link cases

This commit is contained in:
UbitUmarov
2026-01-24 21:40:00 +00:00
parent b9023bb3b6
commit 25ad17d068
6 changed files with 16 additions and 7 deletions

View File

@@ -150,9 +150,9 @@ namespace OpenSim.Region.Framework.Scenes
/// <summary>
/// Force the task inventory of this prim to persist at the next update sweep
/// </summary>
public void ForceInventoryPersistence()
public void ForceInventoryPersistence(bool force = true)
{
HasInventoryChanged = true;
HasInventoryChanged = force || m_items.Count > 0;
}
/// <summary>