From fec56bfb9cdc28a45404d3672997355c80c1aeed Mon Sep 17 00:00:00 2001 From: GDColon Date: Tue, 31 Mar 2020 14:46:40 -0400 Subject: [PATCH] fixed the most laughable mistake possible --- api/icon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/icon.js b/api/icon.js index c8cec05..7a093f7 100644 --- a/api/icon.js +++ b/api/icon.js @@ -68,7 +68,7 @@ module.exports = async (app, req, res) => { if (!fs.existsSync(fromIcons(icon))) return res.sendFile(path.join(__dirname, '../assets/unknownIcon.png')) } - if (!colors[col1]) col1 = 1 + if (!colors[col1]) col1 = 0 if (!colors[col2]) col2 = 3 let iconCode = `${req.query.form == "cursed" ? "cursed" : form}-${iconID}-${col1}-${col2}-${outline ? 1 : 0}`