remove redundant code

This commit is contained in:
UbitUmarov
2019-08-01 05:37:27 +01:00
parent 96dabca85b
commit 0142f102ce

View File

@@ -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();
}