From 82785f83429bcea9647dd8d262a4e7ece64be0df Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Wed, 15 May 2024 22:59:18 -0400 Subject: [PATCH] hotfix --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 83f30c3d..5497b621 100644 --- a/index.html +++ b/index.html @@ -15492,6 +15492,7 @@ window.onload = function() { function autoGen(newname,element,autoType) { var autoInfo = autoElements[autoType]; var newcolor = elements[element].colorObject; + if (!newcolor) { newcolor = {r:255,g:255,b:255} }; var colorList = []; var colorObjectList = []; // if newcolor is not an array, put it in an array