fix(overlay): set paused state to false when loading into a song
Some checks failed
deploy / deploy (push) Failing after 39s
Some checks failed
deploy / deploy (push) Failing after 39s
This commit is contained in:
parent
da701cf046
commit
3c5b5be02f
@ -1,4 +1,4 @@
|
|||||||
import { Redis } from "@/db/redis";
|
import { Redis } from "@/lib/db/redis";
|
||||||
import { BeatsaverMap } from "@/schemas/beatsaver/BeatsaverMap";
|
import { BeatsaverMap } from "@/schemas/beatsaver/BeatsaverMap";
|
||||||
import { BeatsaverAPI } from "@/utils/beatsaver/api";
|
import { BeatsaverAPI } from "@/utils/beatsaver/api";
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ async function loadIntoSong(data: any) {
|
|||||||
beatsaverMapData.versions[beatsaverMapData.versions.length - 1].coverURL;
|
beatsaverMapData.versions[beatsaverMapData.versions.length - 1].coverURL;
|
||||||
|
|
||||||
overlayDataStore.setState({
|
overlayDataStore.setState({
|
||||||
|
paused: false,
|
||||||
scoreStats: {
|
scoreStats: {
|
||||||
accuracy: performance.relativeScore * 100,
|
accuracy: performance.relativeScore * 100,
|
||||||
score: performance.rawScore,
|
score: performance.rawScore,
|
Loading…
Reference in New Issue
Block a user