From 4c3b284f0ebc995c40d7a41eb1a734d5b2504ae0 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 3 Sep 2012 22:55:02 -0300 Subject: [PATCH] Fix lua error in stats module --- modules/client_stats/stats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client_stats/stats.lua b/modules/client_stats/stats.lua index 909231ef..4366694a 100644 --- a/modules/client_stats/stats.lua +++ b/modules/client_stats/stats.lua @@ -38,7 +38,7 @@ function onGameStart() end function onGameEnd() - sendReportEvent:cancel() + removeEvent(sendReportEvent) end function onConnect(protocol)