diff options
Diffstat (limited to '')
-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 | } |