From fd76179fc154be6467a50270bd10667ade4d57d5 Mon Sep 17 00:00:00 2001 From: Oj Date: Fri, 28 Jan 2022 18:49:52 +0000 Subject: [PATCH] [GPUSettings] Tweak source / simplify a bit --- src/GPUSettings.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/GPUSettings.js b/src/GPUSettings.js index 6012783..7be1006 100644 --- a/src/GPUSettings.js +++ b/src/GPUSettings.js @@ -1,6 +1,5 @@ -// Idk why Discord has to use this exports.replace = (GPUSettings) => { - for (const name of Object.keys(GPUSettings)) { + for (const name in GPUSettings) { exports[name] = GPUSettings[name]; } }; \ No newline at end of file