diff --git a/src/game.rs b/src/game.rs index 14c6e0a..c61e03d 100644 --- a/src/game.rs +++ b/src/game.rs @@ -39,6 +39,7 @@ pub struct Game { pub endings: Vec, pub variables: Vec, pub font_data: Option, // todo make this an actual struct for parsing + pub(crate) line_endings_crlf: bool, // otherwise lf (unix/mac) } impl Game { @@ -168,6 +169,7 @@ impl Game { endings, variables, font_data, + line_endings_crlf: false }) } }