== UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-09 00:33:16 +00:00
parent 357f20eb14
commit 7e0fc95c3a
26 changed files with 137 additions and 143 deletions

View File

@@ -60,7 +60,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public bool StatePersistedHere { get { return m_AttachedAvatar == UUID.Zero; } }
public bool StatePersistedHere { get { return m_AttachedAvatar.IsZero(); } }
/// <summary>
/// The current work item if an event for this script is running or waiting to run,