aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 087f688..008abd0 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -78,7 +78,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
78 // Xantor 20080525: I need assetID here to see if we already compiled this one previously 78 // Xantor 20080525: I need assetID here to see if we already compiled this one previously
79 LLUUID assetID = LLUUID.Zero; 79 LLUUID assetID = LLUUID.Zero;
80 TaskInventoryItem taskInventoryItem = new TaskInventoryItem(); 80 TaskInventoryItem taskInventoryItem = new TaskInventoryItem();
81 if(m_host.TaskInventory.TryGetValue(itemID,out taskInventoryItem)) 81 if (m_host.TaskInventory.TryGetValue(itemID,out taskInventoryItem))
82 assetID = taskInventoryItem.AssetID; 82 assetID = taskInventoryItem.AssetID;
83 83
84 84
@@ -140,7 +140,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
140 string text = "Error compiling script:\r\n" + e.Message.ToString(); 140 string text = "Error compiling script:\r\n" + e.Message.ToString();
141 if (text.Length > 1500) 141 if (text.Length > 1500)
142 text = text.Substring(0, 1500); 142 text = text.Substring(0, 1500);
143 World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647, 143 World.SimChat(Helpers.StringToField(text), ChatTypeEnum.DebugChannel, 2147483647,
144 m_host.AbsolutePosition, m_host.Name, m_host.UUID, false); 144 m_host.AbsolutePosition, m_host.Name, m_host.UUID, false);
145 } 145 }
146 catch (Exception e2) // LEGIT: User Scripting 146 catch (Exception e2) // LEGIT: User Scripting