fix(leaderboard): fix comment for private server

This commit is contained in:
matt 2021-11-10 21:14:45 -08:00
parent 8524dd70ae
commit acb76a5c27
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ let caches = [{"stars": null, "coins": null, "demons": null, "diamonds": null},
module.exports = async (app, req, res, post) => {
// What does this mean, good or bad?
// Accurate leaderboard returns 418 because private servers do not use.
if (req.isGDPS) return res.status(418).send("-2")
if (!app.sheetsKey) return res.status(500).send([])
let gdMode = post || req.query.hasOwnProperty("gd")

View file

@ -2,7 +2,7 @@ const request = require('request')
module.exports = async (app, req, res) => {
// What is this supposed to notify, good or bad?
// Accurate leaderboard returns 418 because Private servers do not use.
if (req.isGDPS) return res.status(418).send("0")
request.post('http://robtopgames.com/Boomlings/get_scores.php', {