mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-19 20:16:04 +08:00
parent
0cbec18bc7
commit
d042ac273d
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue