You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Fix a few property warnings on Globals access
Hand-picked from 515f92d03b.
This commit is contained in:
@@ -6313,7 +6313,10 @@ EditorNode::EditorNode() {
|
||||
{
|
||||
|
||||
_initializing_addons = true;
|
||||
Vector<String> addons = Globals::get_singleton()->get("editor_plugins/enabled");
|
||||
Vector<String> addons;
|
||||
if (Globals::get_singleton()->has("editor_plugins/enabled")) {
|
||||
addons = Globals::get_singleton()->get("editor_plugins/enabled");
|
||||
}
|
||||
|
||||
for (int i = 0; i < addons.size(); i++) {
|
||||
set_addon_plugin_enabled(addons[i], true);
|
||||
|
||||
Reference in New Issue
Block a user