aboutsummaryrefslogtreecommitdiff
path: root/lang/preload.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-05 19:27:48 +0200
commit8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 (patch)
tree7096b67b189c0220826123c7d5b121752545d140 /lang/preload.js
downloadkartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.gz
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.bz2
kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.zip
Presque sortie du jeu
Diffstat (limited to 'lang/preload.js')
-rw-r--r--lang/preload.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/preload.js b/lang/preload.js
new file mode 100644
index 0000000..5fbaa65
--- /dev/null
+++ b/lang/preload.js
@@ -0,0 +1,2 @@
+global.lp = win.lp;
+global.lang = JSON.parse(require('fs').readFileSync("./lang/" + lp + ".json")); \ No newline at end of file