From 0142f102ce046bbd46be7087f84845326bb95044 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 1 Aug 2019 05:37:27 +0100 Subject: remove redundant code --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 5e2204e..ec58b97 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -3023,11 +3023,6 @@ namespace OpenSim.Region.Framework.Scenes { if (m_scriptEvents.ContainsKey(scriptid)) { - scriptEvents oldparts = scriptEvents.None; - oldparts = (scriptEvents) m_scriptEvents[scriptid]; - - // remove values from aggregated script events - AggregateScriptEvents &= ~oldparts; m_scriptEvents.Remove(scriptid); aggregateScriptEvents(); } -- cgit v1.1