diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
4 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs index 5c249b9..0572fc7 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMModule.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
75 | { | 75 | { |
76 | if (script.StartsWith("//MRM:C#")) | 76 | if (script.StartsWith("//MRM:C#")) |
77 | { | 77 | { |
78 | if(m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.MasterAvatarAssignedUUID) | 78 | if (m_scene.GetSceneObjectPart(localID).OwnerID != m_scene.RegionInfo.MasterAvatarAssignedUUID) |
79 | return; | 79 | return; |
80 | 80 | ||
81 | try | 81 | try |
@@ -221,7 +221,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
221 | string[] lines = Script.Split(new string[] {"\n"}, StringSplitOptions.RemoveEmptyEntries); | 221 | string[] lines = Script.Split(new string[] {"\n"}, StringSplitOptions.RemoveEmptyEntries); |
222 | foreach (string s in lines) | 222 | foreach (string s in lines) |
223 | { | 223 | { |
224 | if(s.StartsWith("//@DEPENDS:")) | 224 | if (s.StartsWith("//@DEPENDS:")) |
225 | { | 225 | { |
226 | libraries.Add(s.Replace("//@DEPENDS:", "")); | 226 | libraries.Add(s.Replace("//@DEPENDS:", "")); |
227 | } | 227 | } |
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs index d726de7..22a1126 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SOPObject.cs | |||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
65 | { | 65 | { |
66 | add | 66 | add |
67 | { | 67 | { |
68 | if(!_OnTouchActive) | 68 | if (!_OnTouchActive) |
69 | { | 69 | { |
70 | GetSOP().Flags |= PrimFlags.Touch; | 70 | GetSOP().Flags |= PrimFlags.Touch; |
71 | _OnTouchActive = true; | 71 | _OnTouchActive = true; |
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs index 1fb7715..778bf7d 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim | |||
50 | } | 50 | } |
51 | } | 51 | } |
52 | 52 | ||
53 | if(e.Sender is IObject) | 53 | if (e.Sender is IObject) |
54 | { | 54 | { |
55 | // Ignore | 55 | // Ignore |
56 | } | 56 | } |
@@ -61,4 +61,4 @@ namespace OpenSim | |||
61 | 61 | ||
62 | } | 62 | } |
63 | } | 63 | } |
64 | } \ No newline at end of file | 64 | } |
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs index f2b3e81..cbbe86d 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/World.cs | |||
@@ -130,7 +130,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
130 | 130 | ||
131 | private void HandleChatPacket(OSChatMessage chat) | 131 | private void HandleChatPacket(OSChatMessage chat) |
132 | { | 132 | { |
133 | if(string.IsNullOrEmpty(chat.Message)) | 133 | if (string.IsNullOrEmpty(chat.Message)) |
134 | return; | 134 | return; |
135 | 135 | ||
136 | // Object? | 136 | // Object? |