summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/timer.rb1
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