less verbose gamedig debug

This commit is contained in:
Smith
2022-05-08 20:42:16 +02:00
parent 8a0d2d8737
commit cd29454eca
2 changed files with 2 additions and 2 deletions

2
dist/game-server.js vendored
View File

@@ -43,7 +43,7 @@ class GameServer {
console.log('gs.up', this.config.host, this.config.port);
let info = await this.gamedig();
if (DBG)
console.log('gs.gamedig', info);
console.log('gs.gamedig', Object.assign({}, info, { players: undefined }));
if (!info && STEAM_WEB_API_KEY && this.config.appId) {
info = await this.steam();
if (DBG)

View File

@@ -67,7 +67,7 @@ export class GameServer {
if (DBG) console.log('gs.up', this.config.host, this.config.port);
let info = await this.gamedig();
if (DBG) console.log('gs.gamedig', info);
if (DBG) console.log('gs.gamedig', Object.assign({}, info, { players: undefined }));
if (!info && STEAM_WEB_API_KEY && this.config.appId) {
info = await this.steam();
if (DBG) console.log('gs.steam', info);