Diff

util/timer.lua @ 5879:95f1d5421fbc

util.timer: Fix another variable name typo (thanks again zash).
author Waqas Hussain <waqas20@gmail.com>
date Wed, 30 Oct 2013 17:56:00 -0400
parent 5878:2b1c0c0a2ea6
child 5880:11f14d44438e
line wrap: on
line diff
--- a/util/timer.lua	Wed Oct 30 17:51:37 2013 -0400
+++ b/util/timer.lua	Wed Oct 30 17:56:00 2013 -0400
@@ -96,8 +96,8 @@
 		local _;
 		_, _callback, _id = h:pop();
 		_now = now;
-		_param = params[id];
-		params[id] = nil;
+		_param = params[_id];
+		params[_id] = nil;
 		--item(now, id, _param); -- FIXME pcall
 		local success, err = xpcall(_call, _traceback_handler);
 		if success and type(err) == "number" then