!= UUID.Zero is slow

This commit is contained in:
UbitUmarov
2022-01-09 02:28:51 +00:00
parent 7e0fc95c3a
commit da928d6099
78 changed files with 254 additions and 263 deletions

View File

@@ -163,7 +163,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
m_userAccountService = s.UserAccountService;
if(m_gridUserService == null)
m_gridUserService = s.GridUserService;
if (s.RegionInfo.ScopeID != UUID.Zero)
if (!s.RegionInfo.ScopeID.IsZero())
m_scopeID = s.RegionInfo.ScopeID;
}