Make cli prints be godot_prints as well
This commit is contained in:
parent
e76d131580
commit
604b97925b
@ -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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user