Changeset

5878:2b1c0c0a2ea6

util.timer: Fix variable name typo.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 30 Oct 2013 17:51:37 -0400
parents 5877:615a0774e4cc
children 5879:95f1d5421fbc
files util/timer.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/timer.lua	Wed Oct 30 17:44:42 2013 -0400
+++ b/util/timer.lua	Wed Oct 30 17:51:37 2013 -0400
@@ -117,7 +117,7 @@
 	params[id] = param;
 	if next_time == nil or event_time < next_time then
 		next_time = event_time;
-		_add_task(next_time - current_time, on_timer);
+		_add_task(next_time - current_time, _on_timer);
 	end
 	return id;
 end
@@ -131,7 +131,7 @@
 	h:reprioritize(id, delay);
 	if next_time == nil or event_time < next_time then
 		next_time = event_time;
-		_add_task(next_time - current_time, on_timer);
+		_add_task(next_time - current_time, _on_timer);
 	end
 	return id;
 end