aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 9030a5c..20dbbd4 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1266,6 +1266,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1266 XmlAttribute assetID = doc.CreateAttribute("", "Asset", ""); 1266 XmlAttribute assetID = doc.CreateAttribute("", "Asset", "");
1267 assetID.Value = instance.AssetID.ToString(); 1267 assetID.Value = instance.AssetID.ToString();
1268 stateData.Attributes.Append(assetID); 1268 stateData.Attributes.Append(assetID);
1269 XmlAttribute engineName = doc.CreateAttribute("", "Engine", "");
1270 engineName.Value = ScriptEngineName;
1271 stateData.Attributes.Append(engineName);
1269 doc.AppendChild(stateData); 1272 doc.AppendChild(stateData);
1270 1273
1271 // Add <ScriptState>...</ScriptState> 1274 // Add <ScriptState>...</ScriptState>
@@ -1388,6 +1391,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1388 1391
1389 XmlElement rootE = (XmlElement)rootL[0]; 1392 XmlElement rootE = (XmlElement)rootL[0];
1390 1393
1394 if (rootE.GetAttribute("Engine") != ScriptEngineName)
1395 return;
1396
1391 if (rootE.GetAttribute("UUID") != itemID.ToString()) 1397 if (rootE.GetAttribute("UUID") != itemID.ToString())
1392 return; 1398 return;
1393 1399