power mode considers if blind mode is on or off

closes #3350
This commit is contained in:
Miodec 2022-07-22 15:09:01 +02:00
parent 0cbec18bc7
commit d042ac273d

View file

@ -200,6 +200,8 @@ function randomColor(): string {
export async function addPower(good = true, extra = false): Promise<void> {
if (Config.monkeyPowerLevel === "off" || SlowTimer.get()) return;
if (Config.blindMode) good = true;
// Shake
if (["3", "4"].includes(Config.monkeyPowerLevel)) {
$("html").css("overflow", "hidden");