From 643abafca13fd6a70d128d54f44881aee0130dac Mon Sep 17 00:00:00 2001 From: b Date: Fri, 18 Jun 2021 23:46:43 -0700 Subject: [PATCH] Fix typo;; --- load3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load3.js b/load3.js index faac36c..feacd0f 100644 --- a/load3.js +++ b/load3.js @@ -62,7 +62,7 @@ function clean_item(item) { item.skillpoints = [item.str, item.dex, item.int, item.def, item.agi]; item.has_negstat = item.str < 0 || item.dex < 0 || item.int < 0 || item.def < 0 || item.agi < 0; item.reqs = [item.strReq, item.dexReq, item.intReq, item.defReq, item.agiReq]; - for (int i = 0; i < 5; ++i) { + for (let i = 0; i < 5; ++i) { if (item.reqs[i] === undefined) { item.reqs[i] = 0; }