From c8a4b4a8bc19641ecdc492715358f6b569f22114 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sat, 18 Apr 2020 10:48:14 +0100 Subject: [PATCH] use room_format_line() --- src/game.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.rs b/src/game.rs index 88774aa..8d6cab7 100644 --- a/src/game.rs +++ b/src/game.rs @@ -200,10 +200,10 @@ impl ToString for Game { } format!( - "{}\n{}\n\n! ROOM_FORMAT {}\n\n{}\n\n", + "{}\n{}\n{}\n\n{}\n\n", &self.name, &self.version_line(), - &self.room_format, + &self.room_format_line(), segments.join("\n\n"), ) }