aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs
index d984d60..ed6f033 100644
--- a/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs
+++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs
@@ -28,7 +28,7 @@
28using OpenSim.Framework.Console; 28using OpenSim.Framework.Console;
29using OpenSim.Region.Environment.Scenes; 29using OpenSim.Region.Environment.Scenes;
30 30
31namespace OpenSim.Region.Enviorment.Scripting 31namespace OpenSim.Region.Environment.Scripting
32{ 32{
33 /// <summary> 33 /// <summary>
34 /// Class which provides access to the world 34 /// Class which provides access to the world
@@ -44,11 +44,15 @@ namespace OpenSim.Region.Enviorment.Scripting
44 // The console 44 // The console
45 public LogBase logger; 45 public LogBase logger;
46 46
47 // API Access
48 public ScriptAPI api;
49
47 public ScriptInfo(Scene scene) 50 public ScriptInfo(Scene scene)
48 { 51 {
49 world = scene; 52 world = scene;
50 events = world.eventManager; 53 events = world.eventManager;
51 logger = MainLog.Instance; 54 logger = MainLog.Instance;
55 api = new ScriptAPI(scene);
52 } 56 }
53 } 57 }
54} 58}