Added and commented out a debug log
This commit is contained in:
parent
7f95b96e6c
commit
308563bee3
1
index.js
1
index.js
|
@ -96,6 +96,7 @@ function splitKeyword(keyword) {
|
||||||
function checkServer(address) {
|
function checkServer(address) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
steam.queryGameServerInfo(address).then(data => {
|
steam.queryGameServerInfo(address).then(data => {
|
||||||
|
// console.log(data) // Debug stuff
|
||||||
data.keywords.split("-")
|
data.keywords.split("-")
|
||||||
data.address = address.split(":");
|
data.address = address.split(":");
|
||||||
data.serverInfo = splitKeyword(data.keywords);
|
data.serverInfo = splitKeyword(data.keywords);
|
||||||
|
|
Loading…
Reference in a new issue