aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1c108b7..758cf4b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -7294,13 +7294,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
7294 switch ((ParcelMediaCommandEnum) aList.Data[i]) 7294 switch ((ParcelMediaCommandEnum) aList.Data[i])
7295 { 7295 {
7296 case ParcelMediaCommandEnum.Url: 7296 case ParcelMediaCommandEnum.Url:
7297 list.Add(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).MediaURL); 7297 list.Add(new LSL_Types.LSLString(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).MediaURL));
7298 break; 7298 break;
7299 case ParcelMediaCommandEnum.Desc: 7299 case ParcelMediaCommandEnum.Desc:
7300 list.Add(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).Description); 7300 list.Add(new LSL_Types.LSLString(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).Description));
7301 break; 7301 break;
7302 case ParcelMediaCommandEnum.Texture: 7302 case ParcelMediaCommandEnum.Texture:
7303 list.Add(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).MediaID); 7303 list.Add(new LSL_Types.LSLString(World.GetLandData(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y).MediaID.ToString()));
7304 break; 7304 break;
7305 default: 7305 default:
7306 ParcelMediaCommandEnum mediaCommandEnum = ParcelMediaCommandEnum.Url; 7306 ParcelMediaCommandEnum mediaCommandEnum = ParcelMediaCommandEnum.Url;