Stop DNE saying "Loading script" when it's actually unloading.
parent
85b280385f
commit
c0b60bb8cf
|
@ -354,17 +354,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||||
{
|
{
|
||||||
if (LUQueue.Count > 0)
|
if (LUQueue.Count > 0)
|
||||||
{
|
{
|
||||||
m_scriptEngine.Log.InfoFormat("[{0}]: Loading script",
|
|
||||||
m_scriptEngine.ScriptEngineName);
|
|
||||||
LUStruct item = LUQueue.Dequeue();
|
LUStruct item = LUQueue.Dequeue();
|
||||||
|
|
||||||
if (item.Action == LUType.Unload)
|
if (item.Action == LUType.Unload)
|
||||||
{
|
{
|
||||||
|
m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script",
|
||||||
|
m_scriptEngine.ScriptEngineName);
|
||||||
_StopScript(item.localID, item.itemID);
|
_StopScript(item.localID, item.itemID);
|
||||||
RemoveScript(item.localID, item.itemID);
|
RemoveScript(item.localID, item.itemID);
|
||||||
}
|
}
|
||||||
else if (item.Action == LUType.Load)
|
else if (item.Action == LUType.Load)
|
||||||
{
|
{
|
||||||
|
m_scriptEngine.Log.DebugFormat("[{0}]: Loading script",
|
||||||
|
m_scriptEngine.ScriptEngineName);
|
||||||
_StartScript(item.localID, item.itemID, item.script,
|
_StartScript(item.localID, item.itemID, item.script,
|
||||||
item.startParam, item.postOnRez);
|
item.startParam, item.postOnRez);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue