🏘👡 Checkpoint

./public/index.js:1954897/11945
This commit is contained in:
Glitch (glitch-hello-node) committed 2021-11-14 17:00:15 +00:00
1 parent d13262ec4b
commit 80a0b0aa1f
2 files changed
+49 -1

No files matched your search

+3 -1
View File
@@ -68,7 +68,9 @@ for (const [id, building] of Object.entries(buildings)) {
// Update map colors every minute
drawRegions()
setTimeout(drawRegions, 60 * 1000)
setInterval(() => {
drawRegions()
}, 60 * 1000)
async function drawRegions() {
const data = await getData()