guide the idiotic javascript by moving its feet manually to walk it along a path
This commit is contained in:
parent
8112ff4c59
commit
b0067c3e65
|
|
@ -27603,7 +27603,21 @@ Make sure to save your command in a file if you want to add this preset again.`
|
|||
});
|
||||
lightlikes = ["light","flash","laser","radiation","insulate_flash"];
|
||||
grbBreakIntos = Object.keys(elements).filter(function(elemName) {
|
||||
return elements[elemName].breakInto && elements[elemName].breakInto.includes("gamma_ray_burst");
|
||||
var to = typeof(elements[elemName]);
|
||||
if(to == "undefined") {
|
||||
return false
|
||||
} else {
|
||||
var to2 = typeof(elements[elemName].breakInto);
|
||||
if(to2 == "undefined") {
|
||||
return false
|
||||
} else {
|
||||
if(elements[elemName].breakInto instanceof Array) {
|
||||
return elements[elemName].breakInto.includes("gamma_ray_burst")
|
||||
} else {
|
||||
return elements[elemName].breakInto == "gamma_ray_burst"
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
elements.insulate_flash = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue