Merge pull request #262 from darkdarkdragon/develop-pathfind-fix

[FIX] properly close path find request
This commit is contained in:
wltsmrz
2015-01-16 16:17:32 -08:00

View File

@@ -55,7 +55,7 @@ PathFind.prototype.create = function () {
};
PathFind.prototype.close = function () {
this.remote.request_path_find_close().request();
this.remote.request_path_find_close().broadcast().request();
this.emit('end');
this.emit('close');
};