Build 29079087

This commit is contained in:
Renan LE CARO 2025-04-15 21:28:00 +02:00
parent 06843047d2
commit 8e4e67e33b
17 changed files with 199 additions and 234 deletions

View file

@ -1,4 +1,4 @@
import {getSettingValue} from "./settings";
import { getSettingValue } from "./settings";
export function clamp(value: number, min: number, max: number) {
return Math.max(min, Math.min(value, max));
@ -10,7 +10,7 @@ export function comboKeepingRate(level: number) {
export function hoursSpentPlaying() {
try {
const timePlayed = getSettingValue('breakout_71_total_play_time',0)
const timePlayed = getSettingValue("breakout_71_total_play_time", 0);
return Math.floor(timePlayed / 1000 / 60 / 60);
} catch (e) {
return 0;