mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
!= UUID.Zero is slow
This commit is contained in:
@@ -87,7 +87,7 @@ namespace OpenSim.Framework.Monitoring
|
||||
public void ReceiveClassicSimStatsPacket(SimStats stats)
|
||||
{
|
||||
UUID id = stats.RegionUUID;
|
||||
if (id != UUID.Zero)
|
||||
if (!id.IsZero())
|
||||
{
|
||||
if(ReceivedStats.Count == 0)
|
||||
firstReceivedRegion = id;
|
||||
|
||||
Reference in New Issue
Block a user