mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix a few property warnings on Globals access
Hand-picked from 515f92d03b.
This commit is contained in:
parent
9b1ee4cd66
commit
fec8e2549c
3 changed files with 6 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue