Fix speed

This commit is contained in:
Dragon Fire
2024-04-24 00:28:50 -04:00
parent 4f7d8f9fb6
commit e113bd267c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ module.exports = class FireCommand extends Command {
encoder.start();
encoder.setRepeat(0);
encoder.setDelay(0);
encoder.setQuality(200);
encoder.setQuality(100);
for (let i = 0; i < frameCount; i++) {
const frame = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'fire', `frame-${i}.gif`));
const ratio = frame.width / frame.height;