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