From c0b60bb8cf128e384732e440f321b43466d88323 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 27 Sep 2008 14:19:03 +0000 Subject: Stop DNE saying "Loading script" when it's actually unloading. --- OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 1c1dcf3..7ba1a83 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs @@ -354,17 +354,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine { if (LUQueue.Count > 0) { - m_scriptEngine.Log.InfoFormat("[{0}]: Loading script", - m_scriptEngine.ScriptEngineName); LUStruct item = LUQueue.Dequeue(); if (item.Action == LUType.Unload) { + m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script", + m_scriptEngine.ScriptEngineName); _StopScript(item.localID, item.itemID); RemoveScript(item.localID, item.itemID); } else if (item.Action == LUType.Load) { + m_scriptEngine.Log.DebugFormat("[{0}]: Loading script", + m_scriptEngine.ScriptEngineName); _StartScript(item.localID, item.itemID, item.script, item.startParam, item.postOnRez); } -- cgit v1.1