You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Changed some code showed in LGTM and Coverage
This commit is contained in:
@@ -834,7 +834,7 @@ void EditorNode::_get_scene_metadata(const String &p_file) {
|
||||
for (List<String>::Element *E = esl.front(); E; E = E->next()) {
|
||||
|
||||
Variant st = cf->get_value("editor_states", E->get());
|
||||
if (st.get_type()) {
|
||||
if (st.get_type() != Variant::NIL) {
|
||||
md[E->get()] = st;
|
||||
}
|
||||
}
|
||||
@@ -2543,8 +2543,6 @@ void EditorNode::_menu_option_confirm(int p_option, bool p_confirmed) {
|
||||
restart_editor();
|
||||
} break;
|
||||
default: {
|
||||
if (p_option >= IMPORT_PLUGIN_BASE) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user