fix: minor bug

This commit is contained in:
Renge 2022-04-06 14:26:44 -04:00
parent ada01b6b8d
commit edcc5eaffc

View File

@ -171,7 +171,7 @@ export default class SceneWithStory extends Scene {
}
this.currentSpeaker = this.story.texts[this.storyProgress].speaker;
this.currentContent = this.story.texts[this.storyProgress].content;
this.storytextLabel.text = this.currentSpeaker?(this.currentSpeaker+":"):"" + '\n' + this.currentContent;
this.storytextLabel.text = (this.currentSpeaker?(this.currentSpeaker+":"):("")) + '\n' + this.currentContent;
}
else {
this.currentMode = Mode.GAME_MODE;