hardcoded settings & trigger canvas cache upon undoing pixels
This commit is contained in:
parent
10a510c42c
commit
02329f01a4
|
@ -26,7 +26,7 @@ class Canvas {
|
|||
frozen: this.isFrozen,
|
||||
zoom: 7,
|
||||
pixel: {
|
||||
cooldown: 10,
|
||||
cooldown: 30,
|
||||
multiplier: 3,
|
||||
maxStack: 6,
|
||||
},
|
||||
|
@ -326,6 +326,8 @@ class Canvas {
|
|||
pixels.map((pixel) => this.undoPixel(pixel))
|
||||
);
|
||||
|
||||
await this.canvasToRedis();
|
||||
|
||||
Logger.info(
|
||||
"Finished undo area in " + ((Date.now() - now) / 1000).toFixed(2) + "s"
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue