handle empty dialogue line (poorly...)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user