diff options
author | Melanie Thielker | 2008-09-27 14:19:03 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-27 14:19:03 +0000 |
commit | c0b60bb8cf128e384732e440f321b43466d88323 (patch) | |
tree | e660b7bb5ac9ed941c68089264582078825545e8 /OpenSim/Region | |
parent | * This is the very very early beginnings of an EventQueue:get module. (diff) | |
download | opensim-SC-c0b60bb8cf128e384732e440f321b43466d88323.zip opensim-SC-c0b60bb8cf128e384732e440f321b43466d88323.tar.gz opensim-SC-c0b60bb8cf128e384732e440f321b43466d88323.tar.bz2 opensim-SC-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.cs | 6 |
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 | } |