From 54851c1a35e6f84d14770583f48c5548dd08af7e Mon Sep 17 00:00:00 2001 From: Michael Morrison Date: Sun, 29 Mar 2015 15:43:58 -0500 Subject: [PATCH] Fix watchdog being called when sa:mp player query times out Fixes #23 --- package.json | 2 +- protocols/samp.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e472ceb..8777263 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "main": "lib/index.js", "author": "Michael Morrison", - "version": "0.2.23", + "version": "0.2.24", "repository" : { "type" : "git", "url" : "https://github.com/sonicsnes/node-gamedig.git" diff --git a/protocols/samp.js b/protocols/samp.js index 8c620ad..2614d10 100644 --- a/protocols/samp.js +++ b/protocols/samp.js @@ -48,6 +48,7 @@ module.exports = require('./core').extend({ for(var i = 0; i < state.raw.numplayers; i++) { state.players.push({}); } + c(); }); }, function(c) {