diff --git a/injector.js b/injector.js index 5bd9bdd..f377ee1 100644 --- a/injector.js +++ b/injector.js @@ -139,7 +139,7 @@ var main;(function(){` if(globalThis.optimizePi){ patchedFile = patchedFile.replaceAll( - "3.1415927410125732 / 180", + "3.1415927410125732 / 180.0", "0.01745" ); @@ -147,6 +147,11 @@ var main;(function(){` "3.1415927410125732", "3.14159" ); + + patchedFile = patchedFile.replaceAll( + "0.01745329238474369", + "0.01745" + ); } const extractInstanceMethodRegex =