aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Primitive.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs
index ce5c327..5f5113d 100644
--- a/OpenSim/Region/Environment/Scenes/Primitive.cs
+++ b/OpenSim/Region/Environment/Scenes/Primitive.cs
@@ -171,7 +171,8 @@ namespace OpenSim.Region.Environment.Scenes
171 171
172 ~Primitive() 172 ~Primitive()
173 { 173 {
174 OnPrimCountTainted(); 174 if (OnPrimCountTainted != null)
175 OnPrimCountTainted();
175 } 176 }
176 177
177 #endregion 178 #endregion