aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index b7ff9b6..ae138b4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -586,6 +586,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
586 //for testing purposes only 586 //for testing purposes only
587 public void osSetParcelMediaTime(double time) 587 public void osSetParcelMediaTime(double time)
588 { 588 {
589 if (!m_ScriptEngine.Config.GetBoolean("AllowOSFunctions", false))
590 {
591 OSSLError("osSetParcelMediaTime: permission denied");
592 return;
593 }
594
595 m_host.AddScriptLPS(1);
596
589 World.ParcelMediaSetTime((float)time); 597 World.ParcelMediaSetTime((float)time);
590 } 598 }
591 } 599 }