aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs
index eb5aeeb..65a8aed 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/XMREvents.cs
@@ -182,21 +182,21 @@ namespace OpenSim.Region.ScriptEngine.Yengine
182 new DetectParams[] { det })); 182 new DetectParams[] { det }));
183 } 183 }
184 184
185 public void changed(uint localID, uint change, object data) 185 public void changed(uint localID, uint change, object parameter)
186 { 186 {
187 int ch = (int)change; 187 int ch = (int)change;
188 // Add to queue for all scripts in localID, Object pass change. 188 // Add to queue for all scripts in localID, Object pass change.
189 if(data == null) 189 if(parameter == null)
190 { 190 {
191 PostObjectEvent(localID, new EventParams( 191 PostObjectEvent(localID, new EventParams(
192 "changed", new object[] { ch }, 192 "changed", new object[] { ch },
193 zeroDetectParams)); 193 zeroDetectParams));
194 return; 194 return;
195 } 195 }
196 if ( data is UUID) 196 if ( parameter is UUID)
197 { 197 {
198 DetectParams det = new DetectParams(); 198 DetectParams det = new DetectParams();
199 det.Key = (UUID)data; 199 det.Key = (UUID)parameter;
200 PostObjectEvent(localID, new EventParams( 200 PostObjectEvent(localID, new EventParams(
201 "changed", new object[] { ch }, 201 "changed", new object[] { ch },
202 new DetectParams[] { det })); 202 new DetectParams[] { det }));