diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EventManager.cs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EventManager.cs b/OpenSim/Region/Environment/Scenes/EventManager.cs index c6daa28..7ff9213 100644 --- a/OpenSim/Region/Environment/Scenes/EventManager.cs +++ b/OpenSim/Region/Environment/Scenes/EventManager.cs | |||
@@ -355,16 +355,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
355 | public void TriggerOnBackup(IRegionDataStore dstore) | 355 | public void TriggerOnBackup(IRegionDataStore dstore) |
356 | { | 356 | { |
357 | handlerBackup = OnBackup; | 357 | handlerBackup = OnBackup; |
358 | Delegate[] items = OnBackup.GetInvocationList(); | 358 | if (handlerBackup != null) |
359 | foreach (OnBackupDelegate del in items) | ||
360 | { | 359 | { |
361 | if (del != null) | 360 | handlerBackup(dstore); |
362 | del(dstore); | ||
363 | } | 361 | } |
364 | //if (handlerBackup != null) | ||
365 | //{ | ||
366 | // handlerBackup(dstore); | ||
367 | //} | ||
368 | } | 362 | } |
369 | 363 | ||
370 | public void TriggerParcelPrimCountUpdate() | 364 | public void TriggerParcelPrimCountUpdate() |