handle empty dialogue line (poorly...)

This commit is contained in:
2020-04-30 20:18:15 +01:00
parent ef310d6fb7
commit c06dc237a6
2 changed files with 7 additions and 1 deletions

View File

@@ -247,7 +247,8 @@ impl ToString for Game {
}
for dialogue in &self.dialogues {
segments.push(dialogue.to_string());
// this replacement is silly but see segments_from_string() for explanation
segments.push(dialogue.to_string().replace("\"\"\"\n\"\"\"", ""));
}
for ending in &self.endings {