Make cli prints be godot_prints as well

This commit is contained in:
Sofia 2026-08-03 17:45:21 +03:00
parent e76d131580
commit 604b97925b

View File

@ -163,6 +163,7 @@ impl CommandLinePanel {
field.append_text("[/color]"); field.append_text("[/color]");
self.scroll_next_update = true; self.scroll_next_update = true;
} }
godot_print_rich!("[color={}]{}[/color]", color.as_str(), message);
} }
fn handle_command(&mut self, text: &String) { fn handle_command(&mut self, text: &String) {