Add check for showScore

This commit is contained in:
Liam 2022-10-17 14:50:08 +01:00
parent fcf0bb08d6
commit 250ca41e98

@ -328,7 +328,9 @@ export default class Overlay extends Component {
console.log("Going into level, resetting data.");
this.resetData(true);
this.setState({ songData: data, paused: false });
this.setBeatSaver(data.status.beatmap);
if (this.state.showScore) {
this.setBeatSaver(data.status.beatmap);
}
},
finished: () => {
this.resetData(false);