diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs index 2b84016..53145e2 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs | |||
@@ -68,13 +68,13 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
68 | m_log.Info("[MRM] Enabling MRM Module"); | 68 | m_log.Info("[MRM] Enabling MRM Module"); |
69 | m_scene = scene; | 69 | m_scene = scene; |
70 | 70 | ||
71 | // when hidden, we don't listen for client initiated script events | 71 | // when hidden, we don't listen for client initiated script events |
72 | // only making the MRM engine available for region modules | 72 | // only making the MRM engine available for region modules |
73 | if(!source.Configs["MRM"].GetBoolean("Hidden", false)) | 73 | if (!source.Configs["MRM"].GetBoolean("Hidden", false)) |
74 | { | 74 | { |
75 | scene.EventManager.OnRezScript += EventManager_OnRezScript; | 75 | scene.EventManager.OnRezScript += EventManager_OnRezScript; |
76 | } | 76 | } |
77 | 77 | ||
78 | scene.EventManager.OnFrame += EventManager_OnFrame; | 78 | scene.EventManager.OnFrame += EventManager_OnFrame; |
79 | 79 | ||
80 | scene.RegisterModuleInterface<IMRMModule>(this); | 80 | scene.RegisterModuleInterface<IMRMModule>(this); |
@@ -198,7 +198,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
198 | /// <returns></returns> | 198 | /// <returns></returns> |
199 | internal string CompileFromDotNetText(string Script, string uuid) | 199 | internal string CompileFromDotNetText(string Script, string uuid) |
200 | { | 200 | { |
201 | m_log.Info("MRM 1"); | 201 | m_log.Info("MRM 1"); |
202 | const string ext = ".cs"; | 202 | const string ext = ".cs"; |
203 | const string FilePrefix = "MiniModule"; | 203 | const string FilePrefix = "MiniModule"; |
204 | 204 | ||