mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Merge pull request #262 from darkdarkdragon/develop-pathfind-fix
[FIX] properly close path find request
This commit is contained in:
@@ -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');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user