From cd29454eca415c2fd4a624522665ee7fa64077a6 Mon Sep 17 00:00:00 2001 From: Smith Date: Sun, 8 May 2022 20:42:16 +0200 Subject: [PATCH] less verbose gamedig debug --- dist/game-server.js | 2 +- src/game-server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/game-server.js b/dist/game-server.js index 4eb9e11..de4fc28 100644 --- a/dist/game-server.js +++ b/dist/game-server.js @@ -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) diff --git a/src/game-server.ts b/src/game-server.ts index 8d1cda5..50af3e7 100644 --- a/src/game-server.ts +++ b/src/game-server.ts @@ -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);