1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Cleanup unnecessary debug prints

This commit is contained in:
Rémi Verschelde
2017-10-21 19:31:23 +02:00
parent 393daf0502
commit 6361e24f29
17 changed files with 14 additions and 172 deletions

View File

@@ -163,7 +163,10 @@ void register_gdnative_types() {
// run singletons
Array singletons = ProjectSettings::get_singleton()->get("gdnative/singletons");
Array singletons = Array();
if (ProjectSettings::get_singleton()->has_setting("gdnative/singletons")) {
singletons = ProjectSettings::get_singleton()->get("gdnative/singletons");
}
singleton_gdnatives.resize(singletons.size());