aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-27 14:19:03 +0000
committerMelanie Thielker2008-09-27 14:19:03 +0000
commitc0b60bb8cf128e384732e440f321b43466d88323 (patch)
treee660b7bb5ac9ed941c68089264582078825545e8 /OpenSim/Region
parent* This is the very very early beginnings of an EventQueue:get module. (diff)
downloadopensim-SC_OLD-c0b60bb8cf128e384732e440f321b43466d88323.zip
opensim-SC_OLD-c0b60bb8cf128e384732e440f321b43466d88323.tar.gz
opensim-SC_OLD-c0b60bb8cf128e384732e440f321b43466d88323.tar.bz2
opensim-SC_OLD-c0b60bb8cf128e384732e440f321b43466d88323.tar.xz
Stop DNE saying "Loading script" when it's actually unloading.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs6
1 files changed, 4 insertions, 2 deletions
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
354 { 354 {
355 if (LUQueue.Count > 0) 355 if (LUQueue.Count > 0)
356 { 356 {
357 m_scriptEngine.Log.InfoFormat("[{0}]: Loading script",
358 m_scriptEngine.ScriptEngineName);
359 LUStruct item = LUQueue.Dequeue(); 357 LUStruct item = LUQueue.Dequeue();
360 358
361 if (item.Action == LUType.Unload) 359 if (item.Action == LUType.Unload)
362 { 360 {
361 m_scriptEngine.Log.DebugFormat("[{0}]: Unloading script",
362 m_scriptEngine.ScriptEngineName);
363 _StopScript(item.localID, item.itemID); 363 _StopScript(item.localID, item.itemID);
364 RemoveScript(item.localID, item.itemID); 364 RemoveScript(item.localID, item.itemID);
365 } 365 }
366 else if (item.Action == LUType.Load) 366 else if (item.Action == LUType.Load)
367 { 367 {
368 m_scriptEngine.Log.DebugFormat("[{0}]: Loading script",
369 m_scriptEngine.ScriptEngineName);
368 _StartScript(item.localID, item.itemID, item.script, 370 _StartScript(item.localID, item.itemID, item.script,
369 item.startParam, item.postOnRez); 371 item.startParam, item.postOnRez);
370 } 372 }