# HG changeset patch # User Waqas Hussain # Date 1383169897 14400 # Node ID 2b1c0c0a2ea6cb0bdcde05637de9e62ae70641a0 # Parent 615a0774e4cc917d2dcd35690453bdc547c08935 util.timer: Fix variable name typo. diff -r 615a0774e4cc -r 2b1c0c0a2ea6 util/timer.lua --- 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