Fixed unneccesary ;

This commit is contained in:
Opaque02 2024-09-13 18:20:04 +10:00
parent e1397bb9e0
commit bb3cdacdfa

View File

@ -256,7 +256,7 @@ export default class GameChallengesUiHandler extends UiHandler {
} }
// this line of code gets the center point between the left and right arrows from their left side (Arrow.x gives middle point), taking into account the width of the arrows // this line of code gets the center point between the left and right arrows from their left side (Arrow.x gives middle point), taking into account the width of the arrows
const xLocation = Math.round((challengeLabel.leftArrow.x + challengeLabel.rightArrow.x + challengeLabel.leftArrow.displayWidth) / 2);; const xLocation = Math.round((challengeLabel.leftArrow.x + challengeLabel.rightArrow.x + challengeLabel.leftArrow.displayWidth) / 2);
if (challenge.id === Challenges.SINGLE_TYPE) { if (challenge.id === Challenges.SINGLE_TYPE) {
this.monoTypeValue.setX(xLocation); this.monoTypeValue.setX(xLocation);
this.monoTypeValue.setY(challengeLabel.label.y + 8); this.monoTypeValue.setY(challengeLabel.label.y + 8);