From 76f7fcba7d52bdecf7bc69611aa085b069f2a7fe Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Tue, 30 Sep 2008 14:51:15 +0000
Subject: Add the default script engine to the script creation from archive
 loading to make scripts loaded from oar start

---
 OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'OpenSim/Region/Environment/Modules')

diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
index f53b16e..5e029d1 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs
@@ -174,7 +174,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
 
             foreach (SceneObjectGroup sceneObject in sceneObjects)
             {
-                sceneObject.CreateScriptInstances(0, true, "");
+                sceneObject.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine);
             }
         }
 
-- 
cgit v1.1