From ef9b06cf49fbc1157c3cd32640bcef58b672fd9a Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:14:23 -0400 Subject: [PATCH] Update archive.txt --- archive.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archive.txt b/archive.txt index deaef04e..1b97ab52 100644 --- a/archive.txt +++ b/archive.txt @@ -4,7 +4,7 @@ // If elem1 exists if (elements[key].reactions[reaction].elem1) { // If elem1 is an array, loop through each element, else check once. Don't delete if it === null - if (Array.isArray(elements[key].reactions[reaction].elem1)) { + if (Array.isArray(elements[key].reactions[reaction].elem1)) { for (var i = 0; i < elements[key].reactions[reaction].elem1.length; i++) { if (elements[key].reactions[reaction].elem1[i] && !elements[elements[key].reactions[reaction].elem1[i]]) { elements[key].reactions[reaction].elem1.splice(i,1); @@ -101,4 +101,4 @@ else { if (elements[key].breakInto[i]!==null && !elements[elements[key].breakInto]) { delete elements[key].breakInto; } } - } \ No newline at end of file + }