use room_format_line()

This commit is contained in:
Max Bradbury 2020-04-18 10:48:14 +01:00
parent c200957679
commit c8a4b4a8bc
1 changed files with 2 additions and 2 deletions

View File

@ -200,10 +200,10 @@ impl ToString for Game {
} }
format!( format!(
"{}\n{}\n\n! ROOM_FORMAT {}\n\n{}\n\n", "{}\n{}\n{}\n\n{}\n\n",
&self.name, &self.name,
&self.version_line(), &self.version_line(),
&self.room_format, &self.room_format_line(),
segments.join("\n\n"), segments.join("\n\n"),
) )
} }