aboutsummaryrefslogtreecommitdiff
path: root/render/naturals.js
diff options
context:
space:
mode:
authorNinjune x <enderknight537@gmail.com>2023-01-08 02:12:14 -0600
committerNinjune x <enderknight537@gmail.com>2023-01-08 02:12:14 -0600
commit688e13930681bca7881d19468745f7067e9bc5c2 (patch)
tree9e95e59359dd2ae6e2e7761666b99a191bb62a1f /render/naturals.js
parent1891ada92ab1911cfaaa7ad0e72c85573f4fcbb6 (diff)
downloadcoleweight-688e13930681bca7881d19468745f7067e9bc5c2.tar.gz
coleweight-688e13930681bca7881d19468745f7067e9bc5c2.tar.bz2
coleweight-688e13930681bca7881d19468745f7067e9bc5c2.zip
v1.8.6future
Diffstat (limited to 'render/naturals.js')
-rw-r--r--render/naturals.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/render/naturals.js b/render/naturals.js
index a4d4393..2591fb0 100644
--- a/render/naturals.js
+++ b/render/naturals.js
@@ -6,13 +6,7 @@ let coords = [],
visibleCoords = []
register("gameLoad", res => {
- axios.get(`https://ninjune.dev/api/coords`)
- .then((res) => {
- coords = res.data
- })
- .catch((err) => {
- if(settings.debug) return console.log(err)
- })
+ coords = JSON.parse(FileLib.read("Coleweight", "data/naturalCoords.json"))
})
register("step", () => {