From edcc5eaffc48d4ac45975a3bd4290800648ba6a7 Mon Sep 17 00:00:00 2001 From: Renge Date: Wed, 6 Apr 2022 14:26:44 -0400 Subject: [PATCH] fix: minor bug --- src/shattered_sword/Scenes/SceneWithStory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shattered_sword/Scenes/SceneWithStory.ts b/src/shattered_sword/Scenes/SceneWithStory.ts index a864940..4765450 100644 --- a/src/shattered_sword/Scenes/SceneWithStory.ts +++ b/src/shattered_sword/Scenes/SceneWithStory.ts @@ -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;