[GPUSettings] Tweak source / simplify a bit

This commit is contained in:
Ducko 2022-01-28 18:49:52 +00:00
parent ebe7e38ec8
commit fd76179fc1

View file

@ -1,6 +1,5 @@
// Idk why Discord has to use this
exports.replace = (GPUSettings) => { exports.replace = (GPUSettings) => {
for (const name of Object.keys(GPUSettings)) { for (const name in GPUSettings) {
exports[name] = GPUSettings[name]; exports[name] = GPUSettings[name];
} }
}; };