mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
Remove callback support and global Gamedig.debug option
This commit is contained in:
parent
fdc08b5c09
commit
dfa5c95efc
5 changed files with 28 additions and 46 deletions
|
|
@ -27,8 +27,9 @@ if (argv._.length >= 1) {
|
|||
options.port = split[1];
|
||||
}
|
||||
}
|
||||
|
||||
if(debug) Gamedig.debug = true;
|
||||
if (debug) {
|
||||
options.debug = true;
|
||||
}
|
||||
|
||||
Gamedig.query(options)
|
||||
.then((state) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue