From b8ba27813b03e87c4290a5af0f59554db0e61bad Mon Sep 17 00:00:00 2001 From: Boxeled Date: Thu, 1 Aug 2024 12:57:04 -0500 Subject: [PATCH 1/2] bug fixes --- mods/periodic_and_more.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mods/periodic_and_more.js b/mods/periodic_and_more.js index 92aa69db..9ef9c6b3 100644 --- a/mods/periodic_and_more.js +++ b/mods/periodic_and_more.js @@ -8,6 +8,7 @@ elements.beryllium = { density: 720, reactions: { water: {elem1: "beryllium", elem2: "dirty_water"} + } }; elements.galinstan = { @@ -60,10 +61,10 @@ runAfterLoad(function() { }); if (enabledMods.includes["mods/chem.js", "mods/moreChemistry.js", "mods/metals.js", "mods/halogen.js", "mods/noblegas.js", "mods/radioactive.js", "mods/nousersthings.js"]) { - runAfterLoad(function() ) + runAfterLoad(function() { console.log("Hello World!"); - }); -} + }) +}; // Creating eLists: eLists.PERIODIC = ["beryllium", "scandium", "vanadium", "manganese", "cobalt"] From d3564bc4548d995501c60fc4fc2573db4be3d9ea Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:12:25 -0400 Subject: [PATCH 2/2] this part is broken and does nothing anyway --- mods/periodic_and_more.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mods/periodic_and_more.js b/mods/periodic_and_more.js index 9ef9c6b3..d032bcee 100644 --- a/mods/periodic_and_more.js +++ b/mods/periodic_and_more.js @@ -60,11 +60,5 @@ runAfterLoad(function() { console.log("Hello World!"); }); -if (enabledMods.includes["mods/chem.js", "mods/moreChemistry.js", "mods/metals.js", "mods/halogen.js", "mods/noblegas.js", "mods/radioactive.js", "mods/nousersthings.js"]) { - runAfterLoad(function() { - console.log("Hello World!"); - }) -}; - // Creating eLists: eLists.PERIODIC = ["beryllium", "scandium", "vanadium", "manganese", "cobalt"]