fix(overlay): set paused state to false when loading into a song
Some checks failed
deploy / deploy (push) Failing after 39s

This commit is contained in:
Lee 2023-11-16 09:49:09 +00:00
parent da701cf046
commit 3c5b5be02f
4 changed files with 2 additions and 1 deletions

@ -1,4 +1,4 @@
import { Redis } from "@/db/redis";
import { Redis } from "@/lib/db/redis";
import { BeatsaverMap } from "@/schemas/beatsaver/BeatsaverMap";
import { BeatsaverAPI } from "@/utils/beatsaver/api";

@ -16,6 +16,7 @@ async function loadIntoSong(data: any) {
beatsaverMapData.versions[beatsaverMapData.versions.length - 1].coverURL;
overlayDataStore.setState({
paused: false,
scoreStats: {
accuracy: performance.relativeScore * 100,
score: performance.rawScore,