diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 38bcb03..fea6b2b 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -47,6 +47,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
47 | #region Events | 47 | #region Events |
48 | 48 | ||
49 | public event PhysicsCrash UnRecoverableError; | 49 | public event PhysicsCrash UnRecoverableError; |
50 | private PhysicsCrash handler001 = null; | ||
50 | 51 | ||
51 | #endregion | 52 | #endregion |
52 | 53 | ||
@@ -715,9 +716,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
715 | 716 | ||
716 | public void physicsBasedCrash() | 717 | public void physicsBasedCrash() |
717 | { | 718 | { |
718 | if (UnRecoverableError != null) | 719 | handler001 = UnRecoverableError; |
720 | if (handler001 != null) | ||
719 | { | 721 | { |
720 | UnRecoverableError(); | 722 | handler001(); |
721 | } | 723 | } |
722 | } | 724 | } |
723 | 725 | ||