mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
== UUID.Zero is slow
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user