You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -137,7 +137,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_plugin_GodotPlugin_nativeRegis
|
||||
// Retrieve the current list of gdnative libraries.
|
||||
Array singletons = Array();
|
||||
if (ProjectSettings::get_singleton()->has_setting("gdnative/singletons")) {
|
||||
singletons = ProjectSettings::get_singleton()->get("gdnative/singletons");
|
||||
singletons = GLOBAL_GET("gdnative/singletons");
|
||||
}
|
||||
|
||||
// Insert the libraries provided by the plugin
|
||||
|
||||
Reference in New Issue
Block a user