Add check for showScore
This commit is contained in:
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 });
|
||||
if (this.state.showScore) {
|
||||
this.setBeatSaver(data.status.beatmap);
|
||||
}
|
||||
},
|
||||
finished: () => {
|
||||
this.resetData(false);
|
||||
|
Reference in New Issue
Block a user