hide element
This commit is contained in:
parent
36653836e2
commit
d99c2d40fb
|
|
@ -14,6 +14,7 @@ if(enabledMods.includes(runAfterAutogenMod) && enabledMods.includes(libraryMod))
|
||||||
});
|
});
|
||||||
|
|
||||||
elements.insulate_flash = {
|
elements.insulate_flash = {
|
||||||
|
hidden: true,
|
||||||
color: "#fffdcf",
|
color: "#fffdcf",
|
||||||
tick: function(pixel) {
|
tick: function(pixel) {
|
||||||
if (Math.random() < 0.75 && pixelTicks - pixel.start > 1) {
|
if (Math.random() < 0.75 && pixelTicks - pixel.start > 1) {
|
||||||
|
|
@ -251,4 +252,4 @@ if(enabledMods.includes(runAfterAutogenMod) && enabledMods.includes(libraryMod))
|
||||||
if(!enabledMods.includes(runAfterAutogenMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,runAfterAutogenMod) };
|
if(!enabledMods.includes(runAfterAutogenMod)) { enabledMods.splice(enabledMods.indexOf(modName),0,runAfterAutogenMod) };
|
||||||
localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
|
localStorage.setItem("enabledMods", JSON.stringify(enabledMods));
|
||||||
alert(`The "${runAfterAutogenMod}" and "${libraryMod}" mods are required and have been automatically inserted (reload for this to take effect).`);
|
alert(`The "${runAfterAutogenMod}" and "${libraryMod}" mods are required and have been automatically inserted (reload for this to take effect).`);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue