summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/random_tables.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random_tables.rs b/src/random_tables.rs
index e0512f0..f949554 100644
--- a/src/random_tables.rs
+++ b/src/random_tables.rs
@@ -69,7 +69,7 @@ impl RandomTables {
output_text.push_str("\n");
}
- return output_text.trim().to_string();
+ return output_text.trim().replace("\n", ", ").to_string();
}
} else {
panic!("Invalid roll format in yaml")