fixed the most laughable mistake possible

This commit is contained in:
GDColon 2020-03-31 14:46:40 -04:00
parent ca32495905
commit fec56bfb9c

View file

@ -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}`