diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs index 4a6086c..35a6d9f 100644 --- a/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptInfo.cs | |||
@@ -52,7 +52,12 @@ namespace OpenSim.Region.Scripting | |||
52 | world = scene; | 52 | world = scene; |
53 | events = world.EventManager; | 53 | events = world.EventManager; |
54 | logger = MainLog.Instance; | 54 | logger = MainLog.Instance; |
55 | api = new ScriptAPI(scene); | 55 | api = new ScriptAPI(world, libsecondlife.LLUUID.Zero); |
56 | } | ||
57 | |||
58 | public void CreateTaskAPI(libsecondlife.LLUUID task) | ||
59 | { | ||
60 | api = new ScriptAPI(world, task); | ||
56 | } | 61 | } |
57 | } | 62 | } |
58 | } | 63 | } |