diff --git a/src/main.rs b/src/main.rs index acf9a43..c8a4aa3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1899,7 +1899,7 @@ impl GameState { timer, } => { window.get_font_mut(&self.font)?.draw( - text, + current_text, text_size.round() as u32, rect.x, rect.y,