mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-18 09:35:50 +00:00
Minor cleanup to satisfy code inspection
This commit is contained in:
parent
20b012ba80
commit
c0548fb886
4 changed files with 5 additions and 3 deletions
|
|
@ -4,6 +4,7 @@ class Battlefield extends require('./core') {
|
|||
constructor() {
|
||||
super();
|
||||
this.encoding = 'latin1';
|
||||
this.isBadCompany2 = false;
|
||||
}
|
||||
|
||||
run(state) {
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ class Core extends EventEmitter {
|
|||
this.encoding = 'utf8';
|
||||
this.byteorder = 'le';
|
||||
this.delimiter = '\0';
|
||||
this.srvRecord = null;
|
||||
|
||||
this.globalTimeoutTimer = setTimeout(() => {
|
||||
this.fatal('timeout');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue