Mass Macro, Double Split, Triple Split, Quadruple Split, Freeze, FPS Counter, Auto-Respawn

Mass Macro - W(Hold), 2xSplit - 2, 3xSplit - 3, 4xSplit - 4, Freeze Movement - S, Hold ESC in Stats screen to Auto-Respawn.

< Opiniones de Mass Macro, Double Split, Triple Split, Quadruple Split, Freeze, FPS Counter, Auto-Respawn

Pregunta o comentario

§
Publicado: 21/11/2018

Simplification

You can change:

if (frames < 60) {
    fpsBox.style.background = hsl(frames * 2);
} else {
    fpsBox.style.background = hsl(120);
}

to:

fpsBox.style.background = hsl(Math.min(frames * 2, 120));

Publicar respuesta

Inicia sesión para responder.