== 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

@@ -250,7 +250,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.JsonStore
// -----------------------------------------------------------------
public bool CreateStore(string value, ref UUID result)
{
if (result == UUID.Zero)
if (result.IsZero())
result = UUID.Random();
JsonStore map = null;