Reset when test becomes inactive

This commit is contained in:
Otard95 2021-06-02 21:10:00 +02:00
parent 80d50e9e11
commit c5533f848a

View file

@ -28,6 +28,7 @@ import * as ThemeColors from "./theme-colors";
import * as CloudFunctions from "./cloud-functions";
import * as TestLeaderboards from "./test-leaderboards";
import * as Replay from "./replay.js";
import * as PowerMode from "./power-mode";
export let notSignedInLastResult = null;
@ -172,6 +173,7 @@ export let bailout = false;
export function setActive(tf) {
active = tf;
if (!tf) PowerMode.reset();
}
export function setRepeated(tf) {