diff options
author | Jeff Ames | 2008-06-04 09:59:27 +0000 |
---|---|---|
committer | Jeff Ames | 2008-06-04 09:59:27 +0000 |
commit | 4ec4e16c809cf86a63b736d2b7b6ad7291595a5f (patch) | |
tree | cfa896ef9057228171e2ee39c4807060101ba90b /OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs | |
parent | * If a ThreadAbortException reaches AuthUser() then let it pass through unmol... (diff) | |
download | opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.zip opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.gz opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.bz2 opensim-SC-4ec4e16c809cf86a63b736d2b7b6ad7291595a5f.tar.xz |
Formatting cleanup, minor refactoring, svn properties.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs b/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs index 09a5818..99be290 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/AsyncCommandPlugins/Timer.cs | |||
@@ -131,7 +131,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine.AsyncCommandPlugins | |||
131 | { | 131 | { |
132 | foreach (TimerClass ts in Timers) | 132 | foreach (TimerClass ts in Timers) |
133 | { | 133 | { |
134 | if(ts.itemID == itemID) | 134 | if (ts.itemID == itemID) |
135 | { | 135 | { |
136 | data.Add(ts.interval); | 136 | data.Add(ts.interval); |
137 | data.Add(ts.next-DateTime.Now.Ticks); | 137 | data.Add(ts.next-DateTime.Now.Ticks); |
@@ -142,11 +142,11 @@ namespace OpenSim.Region.ScriptEngine.XEngine.AsyncCommandPlugins | |||
142 | } | 142 | } |
143 | 143 | ||
144 | public void CreateFromData(uint localID, LLUUID itemID, LLUUID objectID, | 144 | public void CreateFromData(uint localID, LLUUID itemID, LLUUID objectID, |
145 | Object[] data) | 145 | Object[] data) |
146 | { | 146 | { |
147 | int idx=0; | 147 | int idx = 0; |
148 | 148 | ||
149 | while(idx < data.Length) | 149 | while (idx < data.Length) |
150 | { | 150 | { |
151 | TimerClass ts = new TimerClass(); | 151 | TimerClass ts = new TimerClass(); |
152 | 152 | ||