mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Don't clobber options, and allow callback as a seperate param
This commit is contained in:
parent
69be6d8017
commit
4c1c8be8f1
2 changed files with 10 additions and 5 deletions
|
|
@ -48,6 +48,7 @@ module.exports = Class.extend(EventEmitter,{
|
|||
this.reset();
|
||||
this.finished = true;
|
||||
this.emit('finished',result);
|
||||
if(this.options.callback) this.options.callback(result);
|
||||
},
|
||||
|
||||
reset: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue