remove redundant code

0.9.1.0-post-fixes
UbitUmarov 2019-08-01 05:37:27 +01:00
parent 96dabca85b
commit 0142f102ce
1 changed files with 0 additions and 5 deletions

View File

@ -3023,11 +3023,6 @@ namespace OpenSim.Region.Framework.Scenes
{ {
if (m_scriptEvents.ContainsKey(scriptid)) 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); m_scriptEvents.Remove(scriptid);
aggregateScriptEvents(); aggregateScriptEvents();
} }