Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if (oldtime) {
oldtime = JSON.parse(oldtime)
if (myjson.time < oldtime.laptime) {
client.json_set("leaderboard", namekey, JSON.stringify(data))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment