remove redundant code
parent
96dabca85b
commit
0142f102ce
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue