Skip to content

Commit

Permalink
Remove excessive godot_print-ing for classes loading and unloading
Browse files Browse the repository at this point in the history
  • Loading branch information
kkolyan committed Oct 13, 2023
1 parent 3491d7b commit aca46f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions godot-core/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::init::InitLevel;
use crate::obj::*;
use crate::private::as_storage;
use crate::storage::InstanceStorage;
use crate::{godot_print, log};
use crate::log;
use godot_ffi as sys;

use sys::interface_fn;
Expand Down Expand Up @@ -264,7 +264,7 @@ pub fn auto_register_classes(init_level: InitLevel) {
.push(info.class_name);
register_class_raw(info);

godot_print!("Class {} loaded", class_name);
out!("Class {} loaded", class_name);
}

out!("All classes for level `{init_level:?}` auto-registered.");
Expand Down Expand Up @@ -459,7 +459,7 @@ fn unregister_class_raw(class_name: &ClassName) {
class_name.string_sys(),
);
}
godot_print!("Class {class_name} unloaded");
out!("Class {class_name} unloaded");
}

/// Callbacks that are passed as function pointers to Godot upon class registration.
Expand Down

0 comments on commit aca46f3

Please sign in to comment.