Added and commented out a debug log

This commit is contained in:
Christopher Cookman 2024-02-26 01:15:54 -07:00
parent 7f95b96e6c
commit 308563bee3
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -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);