diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/GridInstantMessage.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Framework/GridInstantMessage.cs b/OpenSim/Framework/GridInstantMessage.cs index 4ca4e67..9cecf42 100644 --- a/OpenSim/Framework/GridInstantMessage.cs +++ b/OpenSim/Framework/GridInstantMessage.cs | |||
@@ -75,9 +75,12 @@ namespace OpenSim.Framework | |||
75 | offline = 0; | 75 | offline = 0; |
76 | Position = _position; | 76 | Position = _position; |
77 | binaryBucket = _binaryBucket; | 77 | binaryBucket = _binaryBucket; |
78 | 78 | ||
79 | ParentEstateID = scene.RegionInfo.EstateSettings.ParentEstateID; | 79 | if (scene != null) |
80 | RegionID = scene.RegionInfo.RegionSettings.RegionUUID.Guid; | 80 | { |
81 | ParentEstateID = scene.RegionInfo.EstateSettings.ParentEstateID; | ||
82 | RegionID = scene.RegionInfo.RegionSettings.RegionUUID.Guid; | ||
83 | } | ||
81 | timestamp = (uint)Util.UnixTimeSinceEpoch(); | 84 | timestamp = (uint)Util.UnixTimeSinceEpoch(); |
82 | } | 85 | } |
83 | 86 | ||