diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-04 12:56:01 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-04 12:56:01 +0000 |
commit | 26a1c577e573b0259e5f4d05ad23e55601150e16 (patch) | |
tree | 9a68c80a13f57c866bd0a7866f87ee485b7f8967 | |
parent | 8bb4eb50c9c3d72cdd666feb469e7ef7f1c20104 (diff) |
Fix rescheduling of timers
-rw-r--r-- | lib/rbot/timer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/timer.rb b/lib/rbot/timer.rb index 0527c1e7..5d527179 100644 --- a/lib/rbot/timer.rb +++ b/lib/rbot/timer.rb @@ -56,6 +56,7 @@ module Timer # reschedule the Action to change its period def reschedule(new_period) @period = new_period + @in = new_period end end |