From 26a1c577e573b0259e5f4d05ad23e55601150e16 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 4 Feb 2007 12:56:01 +0000 Subject: Fix rescheduling of timers --- lib/rbot/timer.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3