From 560aa72f3fde60759de6345a82c5cd04b2bbea69 Mon Sep 17 00:00:00 2001 From: An Orbit <68935009+orbit-loona@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:46:34 -0500 Subject: [PATCH] sex with a cactus --- mods/a_mod_by_alice.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/a_mod_by_alice.js b/mods/a_mod_by_alice.js index fca8f545..4086ae75 100644 --- a/mods/a_mod_by_alice.js +++ b/mods/a_mod_by_alice.js @@ -5691,7 +5691,7 @@ color1 and color2 spread through striped paint like dye does with itself. col canvasLayersPostRenderers = []; drawLayers = function(includeBackground) { //console.log("dl tick"); - if (ctx === null) return + if (ctx === null || ctx === undefined) return clearLayers(); ctx.clearRect(0, 0, canvas.width, canvas.height); findColorPulseTimerSubTimer++; @@ -44735,7 +44735,7 @@ maxPixels (default 1000): Maximum amount of pixels/changes (if xSpacing and ySpa }; //NO GAMMA RAY SPAWNERS OR FILLERS IN RANDOM ## runAfterLoad(function() { - randomBlacklist = ["quark_matter", "liquid_neutronium", "molten_neutronium", "neutronium", "neutronium_gas", "colored_fi ller", "copycat_filler", "insulating_filler"]; + randomBlacklist = ["quark_matter", "liquid_neutronium", "molten_neutronium", "neutronium", "neutronium_gas", "colored_filler", "copycat_filler", "insulating_filler"]; for(i = 0; i < randomBlacklist.length; i++) { var element = randomBlacklist[i]; if(elements[element]) { elements[element].excludeRandom = true }; @@ -45678,7 +45678,7 @@ maxPixels (default 1000): Maximum amount of pixels/changes (if xSpacing and ySpa //END ## console.log("Mod loaded"); - logMessage("a_mod_by_alice.js requires many other mods. Many of the elements and features added with it installed are actually added by the other mods it depends on.") + window.addEventListener("load",function() {logMessage("a_mod_by_alice.js requires many other mods. Many of the elements and features added with it installed are actually added by the other mods it depends on.")}) } catch (error) { alert(`Load failed (try reloading).\nThis is likely a sporadic failure caused by inconsistencies in how mods are loaded, and will likely fix itself in a refresh or two. If it persists, then it's an issue.\nError: ${error.stack}`); console.error(error)