mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-25 07:01:20 -09:00
Update injector.js
This commit is contained in:
parent
b64aa9351f
commit
540c0adba6
@ -1,4 +1,5 @@
|
|||||||
globalThis.doEaglerforge = true;
|
globalThis.doEaglerforge = true;
|
||||||
|
globalThis.optimizePi = true;
|
||||||
function wait(ms) {
|
function wait(ms) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
setTimeout(() => { resolve(); }, ms);
|
setTimeout(() => { resolve(); }, ms);
|
||||||
@ -135,7 +136,7 @@ var main;(function(){`
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
console.log(globalThis.optimizePi)
|
||||||
if(globalThis.optimizePi){
|
if(globalThis.optimizePi){
|
||||||
patchedFile = patchedFile.replaceAll(
|
patchedFile = patchedFile.replaceAll(
|
||||||
"3.1415927410125732 / 180",
|
"3.1415927410125732 / 180",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user